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.00132/0.001321, allocations: 108.4 kB / 17.13 MB, free: 5.941 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.001357/0.001357, allocations: 194.1 kB / 18.06 MB, free: 5.023 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.373/1.373, 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.04503/0.04503, allocations: 8.089 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.14 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08004/0.08121, allocations: 51.52 MB / 466.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002504/0.08375, allocations: 1.566 MB / 468.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.0858, allocations: 1.559 MB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.08593, allocations: 4 kB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.08627, allocations: 123.4 kB / 469.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.08659, allocations: 111.2 kB / 470 MB, free: 14.77 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.001703/0.08831, allocations: 0.9256 MB / 471 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.0887, allocations: 246.8 kB / 471.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.08889, allocations: 84.33 kB / 471.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.08906, allocations: 103.6 kB / 471.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.08928, allocations: 127.5 kB / 471.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.08935, allocations: 20 kB / 471.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.08974, allocations: 207.7 kB / 471.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.08981, allocations: 47.83 kB / 471.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.08995, allocations: 123.3 kB / 471.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.09048, allocations: 394.9 kB / 472.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09049, allocations: 0 / 472.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0905, allocations: 4 kB / 472.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.09052, allocations: 4 kB / 472.3 MB, free: 12.51 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.002501/0.09303, allocations: 0.8107 MB / 473.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.09308, allocations: 11.89 kB / 473.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.09317, allocations: 28.66 kB / 473.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.09349, allocations: 256.7 kB / 473.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.09352, allocations: 16.31 kB / 473.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.09356, allocations: 24.38 kB / 473.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.09399, allocations: 257.9 kB / 473.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.094, allocations: 192 / 473.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.09404, allocations: 15.94 kB / 473.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.09405, allocations: 4 kB / 473.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.09443, allocations: 247.7 kB / 473.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.09591, allocations: 1.148 MB / 475.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.09635, allocations: 303.2 kB / 475.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.0966, allocations: 169.2 kB / 475.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.09666, allocations: 4.234 kB / 475.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.09704, allocations: 219.5 kB / 475.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.496e-06/0.09705, allocations: 3.984 kB / 475.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002858/0.09991, allocations: 0.9256 MB / 476.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.09995, allocations: 59.41 kB / 476.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1002, allocations: 179.1 kB / 476.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.1002, allocations: 33.7 kB / 477 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.1003, allocations: 124.8 kB / 477.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.1004, allocations: 94.59 kB / 477.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1005, allocations: 69.44 kB / 477.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1006, allocations: 334.8 kB / 477.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.1008, allocations: 152 kB / 477.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.1011, allocations: 190.8 kB / 477.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.1016, allocations: 358.4 kB / 478.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1017, allocations: 0 / 478.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001647/0.1033, allocations: 0.6575 MB / 478.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1033, allocations: 4 kB / 478.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1034, allocations: 4 kB / 478.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.1049, allocations: 340.5 kB / 479.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.1052, allocations: 47.91 kB / 479.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.109, allocations: 2.628 MB / 481.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1092, allocations: 23.91 kB / 482 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1093, allocations: 11.98 kB / 482 MB, free: 2.316 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.0001341/0.1094, allocations: 137.8 kB / 482.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.1095, allocations: 23.72 kB / 482.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.1112, allocations: 0.6642 MB / 482.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1112, allocations: 3.984 kB / 482.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1112, allocations: 3.938 kB / 482.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1113, allocations: 104.7 kB / 482.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.1113, allocations: 4 kB / 482.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1115, allocations: 19.98 kB / 482.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.1116, allocations: 27.95 kB / 482.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001362/0.113, allocations: 0.5914 MB / 483.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008024/0.1138, allocations: 0.659 MB / 484.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002358/0.114, allocations: 148.3 kB / 484.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1142, allocations: 135.2 kB / 484.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Backend: time 4.81e-07/0.1142, allocations: 4 kB / 484.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1158, allocations: 0.6517 MB / 485.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 0.000829/0.1167, allocations: 0.9091 MB / 486 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01071/0.1274, allocations: 6.809 MB / 492.8 MB, free: 7.328 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)