Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 114.5 kB / 17.14 MB, free: 5.91 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.00184/0.00184, allocations: 195.3 kB / 18.07 MB, free: 4.996 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.3/1.3, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0653/0.0653, allocations: 8.094 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09546, allocations: 51.51 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.003797/0.09931, allocations: 2.442 MB / 469.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.102, allocations: 1.726 MB / 470.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1022, allocations: 8 kB / 470.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.1026, allocations: 159 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.1031, allocations: 210.7 kB / 471.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.105, allocations: 1.027 MB / 472.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005816/0.1056, allocations: 481.9 kB / 472.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.1059, allocations: 176.1 kB / 472.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1061, allocations: 191.3 kB / 473.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.1064, allocations: 255 kB / 473.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.1065, allocations: 44 kB / 473.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.1069, allocations: 263.7 kB / 473.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.107, allocations: 91.62 kB / 473.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1072, allocations: 234.8 kB / 473.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.1079, allocations: 0.6427 MB / 474.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1079, allocations: 0 / 474.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1079, allocations: 0 / 474.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1079, allocations: 0 / 474.6 MB, free: 10.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003493/0.1114, allocations: 1.175 MB / 475.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1114, allocations: 19.83 kB / 475.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.1117, allocations: 64.44 kB / 475.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1122, allocations: 355.4 kB / 476.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.1122, allocations: 33.03 kB / 476.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1123, allocations: 36.38 kB / 476.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.113, allocations: 446.5 kB / 476.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.113, allocations: 4.125 kB / 476.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.113, allocations: 15.94 kB / 476.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1131, allocations: 15.92 kB / 476.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.1137, allocations: 450.5 kB / 477.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.116, allocations: 1.979 MB / 479.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1171, allocations: 0.6975 MB / 479.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.1176, allocations: 297.2 kB / 480.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.448e-05/0.1176, allocations: 7.984 kB / 480.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006488/0.1183, allocations: 480.5 kB / 480.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.685e-06/0.1183, allocations: 0 / 480.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005836/0.1241, allocations: 1.795 MB / 482.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.1243, allocations: 196.4 kB / 482.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.1246, allocations: 306.9 kB / 482.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.1247, allocations: 37.7 kB / 482.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1248, allocations: 168.8 kB / 483.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.1249, allocations: 161.6 kB / 483.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1251, allocations: 110.2 kB / 483.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1253, allocations: 346.8 kB / 483.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.1257, allocations: 269.1 kB / 484 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.1261, allocations: 347.8 kB / 484.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007277/0.1334, allocations: 2.078 MB / 486.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1334, allocations: 0 / 486.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002714/0.1362, allocations: 1.188 MB / 487.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.1362, allocations: 29.7 kB / 487.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1362, allocations: 7.938 kB / 487.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.1385, allocations: 0.5198 MB / 488.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1388, allocations: 79.89 kB / 488.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.1444, allocations: 3.966 MB / 492.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.1449, allocations: 55.45 kB / 492.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.1449, allocations: 20 kB / 492.2 MB, free: 7.816 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.1453, allocations: 231.2 kB / 492.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/0.1453, allocations: 39.53 kB / 492.5 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.148, allocations: 1.137 MB / 493.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.148, allocations: 0 / 493.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.148, allocations: 0 / 493.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1481, allocations: 124.5 kB / 493.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.1482, allocations: 16 kB / 493.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.1485, allocations: 19.98 kB / 493.8 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1486, allocations: 64.27 kB / 493.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002344/0.1509, allocations: 1.093 MB / 494.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001338/0.1523, allocations: 1.092 MB / 496 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003953/0.1527, allocations: 303.5 kB / 496.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.1529, allocations: 218 kB / 496.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of Backend: time 8.52e-07/0.1529, allocations: 4 kB / 496.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.155, allocations: 0.9198 MB / 497.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of SimCode: time 0.001226/0.1562, allocations: 1.279 MB / 498.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of Templates: time 0.01666/0.1729, allocations: 11.43 MB / 0.4982 GB, free: 5.707 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)