Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 106.4 kB / 17.74 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.1 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1769/0.1769, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2982, allocations: 58.05 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005131/0.3034, allocations: 4.912 MB / 0.5096 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3052, allocations: 1.296 MB / 0.5108 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3053, allocations: 17.06 kB / 0.5108 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.3058, allocations: 121.4 kB / 0.511 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.3064, allocations: 330.3 kB / 0.5113 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.3067, allocations: 154.2 kB / 0.5114 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.3074, allocations: 0.6982 MB / 0.5121 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.3077, allocations: 165.1 kB / 0.5123 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.308, allocations: 310.3 kB / 0.5126 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006325/0.3087, allocations: 440.3 kB / 0.513 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.988e-05/0.3088, allocations: 50.19 kB / 0.513 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3089, allocations: 46.62 kB / 0.5131 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.3092, allocations: 231.7 kB / 0.5133 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3095, allocations: 281.7 kB / 0.5136 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.3101, allocations: 0.6137 MB / 0.5142 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3102, allocations: 0 / 0.5142 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3102, allocations: 3.938 kB / 0.5142 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3102, allocations: 1.094 kB / 0.5142 GB, free: 2.047 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001771/0.312, allocations: 0.9623 MB / 0.5151 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.312, allocations: 13.33 kB / 0.5151 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.3121, allocations: 53.86 kB / 0.5152 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3132, allocations: 0.6149 MB / 0.5158 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3132, allocations: 35.55 kB / 0.5158 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.3133, allocations: 43.98 kB / 0.5158 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.3141, allocations: 0.5487 MB / 0.5164 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3142, allocations: 0.6875 kB / 0.5164 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.3142, allocations: 12.14 kB / 0.5164 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003655/0.3146, allocations: 89.91 kB / 0.5165 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.3152, allocations: 354.9 kB / 0.5168 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.3181, allocations: 2.064 MB / 0.5188 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/0.319, allocations: 387.2 kB / 0.5192 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.3195, allocations: 289.3 kB / 0.5195 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3196, allocations: 8.797 kB / 0.5195 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3196, allocations: 41.19 kB / 0.5195 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.3196, allocations: 0 / 0.5195 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004624/0.3242, allocations: 2.543 MB / 0.522 GB, free: 13.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3243, allocations: 82.2 kB / 0.5221 GB, free: 13.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.3247, allocations: 385.3 kB / 0.5225 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.3248, allocations: 31.05 kB / 0.5225 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.325, allocations: 257.9 kB / 0.5227 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3251, allocations: 139 kB / 0.5229 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3253, allocations: 99.12 kB / 0.523 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3254, allocations: 362.1 kB / 0.5233 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.3258, allocations: 243.8 kB / 0.5235 GB, free: 12.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.3262, allocations: 362.2 kB / 0.5239 GB, free: 12.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008528/0.3271, allocations: 0.6108 MB / 0.5245 GB, free: 12.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3271, allocations: 1.922 kB / 0.5245 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001874/0.329, allocations: 1.008 MB / 0.5255 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.329, allocations: 11.27 kB / 0.5255 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3291, allocations: 4.094 kB / 0.5255 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.3302, allocations: 402.3 kB / 0.5259 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.3305, allocations: 79.8 kB / 0.5259 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/0.3363, allocations: 5.146 MB / 0.531 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.3368, allocations: 42.38 kB / 0.531 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.3368, allocations: 19.11 kB / 0.531 GB, free: 7.977 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.3372, allocations: 207.7 kB / 0.5312 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3373, allocations: 43.22 kB / 0.5313 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3389, allocations: 0.8299 MB / 0.5321 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3389, allocations: 10.66 kB / 0.5321 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3389, allocations: 1.156 kB / 0.5321 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.339, allocations: 120.7 kB / 0.5322 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3392, allocations: 30.08 kB / 0.5322 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.3395, allocations: 36.66 kB / 0.5323 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3396, allocations: 34.5 kB / 0.5323 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002687/0.3423, allocations: 1.265 MB / 0.5335 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00161/0.3439, allocations: 1.18 MB / 0.5347 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004401/0.3444, allocations: 308.7 kB / 0.535 GB, free: 5.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003534/0.3447, allocations: 263.3 kB / 0.5352 GB, free: 5.656 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3447, allocations: 0 / 0.5352 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.3466, allocations: 0.8026 MB / 0.536 GB, free: 5.121 MB / 398.1 MB Notification: Performance of SimCode: time 0.002993/0.3497, allocations: 2.156 MB / 0.5381 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Templates: time 0.01408/0.3637, allocations: 8.064 MB / 0.546 GB, free: 13.43 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)