Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 113.9 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.001799/0.001799, allocations: 195.2 kB / 18.08 MB, free: 4.988 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.345/1.345, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04721/0.04721, allocations: 8.098 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.84 kB / 415.2 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.08391, allocations: 51.51 MB / 466.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002575/0.08651, allocations: 1.574 MB / 468.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.08857, allocations: 1.555 MB / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.08871, allocations: 4 kB / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.08912, allocations: 127.3 kB / 469.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.08947, allocations: 119.2 kB / 470 MB, free: 14.8 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.09114, allocations: 0.9101 MB / 471 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.09151, allocations: 246.8 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.09169, allocations: 88.33 kB / 471.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.09182, allocations: 99.58 kB / 471.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.09203, allocations: 127.5 kB / 471.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.09209, allocations: 20 kB / 471.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.09249, allocations: 207.8 kB / 471.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.09256, allocations: 47.84 kB / 471.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.09269, allocations: 123.3 kB / 471.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.09325, allocations: 406.5 kB / 472.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09327, allocations: 0 / 472.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09328, allocations: 0 / 472.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.09329, allocations: 0 / 472.3 MB, free: 12.55 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002441/0.09573, allocations: 0.8257 MB / 473.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.09578, allocations: 15.88 kB / 473.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.701e-05/0.09587, allocations: 32.8 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.09621, allocations: 256.7 kB / 473.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.09624, allocations: 16.38 kB / 473.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.09628, allocations: 16.38 kB / 473.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.09674, allocations: 265.9 kB / 473.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.09676, allocations: 192 / 473.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.09679, allocations: 7.938 kB / 473.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.09681, allocations: 8 kB / 473.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.09721, allocations: 255.7 kB / 474 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.09867, allocations: 1.137 MB / 475.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.09914, allocations: 303.1 kB / 475.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.09938, allocations: 165.3 kB / 475.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.09945, allocations: 4.234 kB / 475.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.09985, allocations: 227.5 kB / 475.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.317e-06/0.09987, allocations: 4 kB / 475.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002802/0.1027, allocations: 0.9257 MB / 476.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1027, allocations: 63.28 kB / 476.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1029, allocations: 183.1 kB / 477 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.103, allocations: 37.7 kB / 477 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.103, allocations: 117 kB / 477.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.1031, allocations: 107.1 kB / 477.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1032, allocations: 61.44 kB / 477.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1033, allocations: 338.8 kB / 477.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.1036, allocations: 151.9 kB / 477.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.1038, allocations: 190.9 kB / 477.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.1044, allocations: 358.3 kB / 478.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1044, allocations: 0 / 478.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001643/0.106, allocations: 0.6499 MB / 478.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1061, allocations: 8 kB / 479 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1061, allocations: 0 / 479 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.1076, allocations: 340.5 kB / 479.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1079, allocations: 55.91 kB / 479.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.1118, allocations: 2.636 MB / 482 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.112, allocations: 19.91 kB / 482 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.112, allocations: 12.23 kB / 482 MB, free: 2.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.1122, allocations: 137.8 kB / 482.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.1123, allocations: 19.86 kB / 482.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.114, allocations: 0.668 MB / 482.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.114, allocations: 0 / 482.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.114, allocations: 7.938 kB / 482.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1141, allocations: 100.9 kB / 482.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1141, allocations: 8 kB / 482.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1143, allocations: 11.98 kB / 483 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.1144, allocations: 35.95 kB / 483 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001384/0.1158, allocations: 0.5912 MB / 483.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008056/0.1166, allocations: 0.663 MB / 484.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002338/0.1169, allocations: 148.2 kB / 484.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.117, allocations: 131.2 kB / 484.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Backend: time 5.71e-07/0.117, allocations: 0 / 484.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.1187, allocations: 0.6593 MB / 485.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008741/0.1196, allocations: 0.9161 MB / 486.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01115/0.1307, allocations: 6.814 MB / 492.9 MB, free: 7.312 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)