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.001078/0.001078, allocations: 111.7 kB / 17.14 MB, free: 5.914 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.001114/0.001115, allocations: 196.2 kB / 18.07 MB, free: 4.992 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.321/1.321, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04723/0.04723, allocations: 8.103 MB / 300 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 415.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09195, allocations: 51.51 MB / 466.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.00331/0.0953, allocations: 2.45 MB / 469.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.09779, allocations: 1.719 MB / 470.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.09808, allocations: 4 kB / 470.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.0986, allocations: 163 kB / 471 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.0992, allocations: 210.7 kB / 471.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.1011, allocations: 1.031 MB / 472.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000632/0.1017, allocations: 481.8 kB / 472.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.102, allocations: 180.1 kB / 472.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1022, allocations: 187.3 kB / 473.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.1026, allocations: 255 kB / 473.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.1027, allocations: 47.94 kB / 473.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1032, allocations: 251.8 kB / 473.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.1033, allocations: 95.61 kB / 473.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1035, allocations: 234.8 kB / 473.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007897/0.1043, allocations: 0.6462 MB / 474.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1043, allocations: 4 kB / 474.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1043, allocations: 0 / 474.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1043, allocations: 0 / 474.6 MB, free: 10.3 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.003617/0.108, allocations: 1.19 MB / 475.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.108, allocations: 15.89 kB / 475.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.1083, allocations: 72.56 kB / 475.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1088, allocations: 355.6 kB / 476.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1088, allocations: 29.03 kB / 476.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.1089, allocations: 36.38 kB / 476.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.1096, allocations: 450.5 kB / 476.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1096, allocations: 192 / 476.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.1096, allocations: 15.94 kB / 476.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1096, allocations: 11.98 kB / 476.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.1103, allocations: 458.5 kB / 477.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1127, allocations: 1.987 MB / 479.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1138, allocations: 0.6897 MB / 479.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.1142, allocations: 297.2 kB / 480.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.1143, allocations: 11.98 kB / 480.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006392/0.115, allocations: 472.6 kB / 480.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.467e-06/0.115, allocations: 0 / 480.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005674/0.1207, allocations: 1.807 MB / 482.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.1207, allocations: 192.4 kB / 482.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1211, allocations: 307 kB / 482.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.1211, allocations: 37.7 kB / 483 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1213, allocations: 173 kB / 483.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1214, allocations: 162.6 kB / 483.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.1216, allocations: 110.2 kB / 483.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1217, allocations: 346.8 kB / 483.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.1221, allocations: 273.1 kB / 484 MB, free: 388 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1226, allocations: 339.8 kB / 484.3 MB, free: 28 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00718/0.1298, allocations: 2.089 MB / 486.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1298, allocations: 0 / 486.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00267/0.1325, allocations: 1.188 MB / 487.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.1325, allocations: 33.64 kB / 487.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1325, allocations: 4 kB / 487.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.1347, allocations: 0.5197 MB / 488.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.135, allocations: 75.91 kB / 488.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.1407, allocations: 3.971 MB / 492.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.1411, allocations: 55.42 kB / 492.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.1411, allocations: 20 kB / 492.3 MB, free: 7.875 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.0002742/0.1414, allocations: 235.9 kB / 492.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.1415, allocations: 39.77 kB / 492.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.1441, allocations: 1.133 MB / 493.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1441, allocations: 3.984 kB / 493.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1441, allocations: 0 / 493.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1442, allocations: 128.7 kB / 493.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.1443, allocations: 12 kB / 493.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.1446, allocations: 19.98 kB / 493.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1447, allocations: 60.28 kB / 493.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002376/0.1471, allocations: 1.097 MB / 495 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001358/0.1485, allocations: 1.097 MB / 496.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003929/0.1489, allocations: 299.5 kB / 496.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.1491, allocations: 221.9 kB / 496.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of Backend: time 5.62e-07/0.1491, allocations: 0 / 496.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.1511, allocations: 0.9231 MB / 497.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of SimCode: time 0.001272/0.1524, allocations: 1.291 MB / 498.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of Templates: time 0.01722/0.1696, allocations: 11.43 MB / 0.4983 GB, free: 5.742 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)