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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 112 kB / 290.6 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04746/0.04746, allocations: 8.09 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 57.19 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 51.51 MB / 462.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002434/0.1109, allocations: 1.62 MB / 464.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1128, allocations: 1.547 MB / 465.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.1129, allocations: 4 kB / 465.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1134, allocations: 107.6 kB / 465.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1136, allocations: 107.4 kB / 466 MB, free: 2.668 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001343/0.115, allocations: 0.8911 MB / 466.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1153, allocations: 238.8 kB / 467.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1154, allocations: 68.2 kB / 467.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.1155, allocations: 95.64 kB / 467.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1157, allocations: 127.4 kB / 467.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1157, allocations: 16 kB / 467.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.116, allocations: 195.8 kB / 467.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1161, allocations: 47.77 kB / 467.6 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.1162, allocations: 107.5 kB / 467.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.1166, allocations: 395.1 kB / 468.1 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1166, allocations: 3.938 kB / 468.1 MB, free: 0.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1166, allocations: 4 kB / 468.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1166, allocations: 0 / 468.1 MB, free: 0.4961 MB / 298.7 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.002434/0.119, allocations: 0.8146 MB / 469 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1191, allocations: 8.031 kB / 469 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.1192, allocations: 28.66 kB / 469 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1195, allocations: 261.5 kB / 469.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1195, allocations: 12.38 kB / 469.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1195, allocations: 20.38 kB / 469.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.12, allocations: 261.7 kB / 469.5 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.12, allocations: 192 / 469.5 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.12, allocations: 19.88 kB / 469.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1201, allocations: 7.938 kB / 469.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.1204, allocations: 243.9 kB / 469.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1219, allocations: 1.144 MB / 470.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.1224, allocations: 299.2 kB / 471.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1226, allocations: 169.3 kB / 471.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.1227, allocations: 8.219 kB / 471.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004561/0.1231, allocations: 220 kB / 471.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.1231, allocations: 7.938 kB / 471.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002973/0.1261, allocations: 0.9292 MB / 472.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1262, allocations: 51.41 kB / 472.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1264, allocations: 191.1 kB / 472.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1264, allocations: 29.7 kB / 472.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.1265, allocations: 120.9 kB / 473 MB, free: 11.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.1266, allocations: 102.5 kB / 473.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1267, allocations: 69.69 kB / 473.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1268, allocations: 326.8 kB / 473.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1271, allocations: 151.9 kB / 473.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1273, allocations: 183.1 kB / 473.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.1278, allocations: 359.5 kB / 474.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1278, allocations: 4 kB / 474.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001672/0.1295, allocations: 0.6537 MB / 474.8 MB, free: 9.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1296, allocations: 10.64 kB / 474.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1296, allocations: 0 / 474.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.1312, allocations: 336.5 kB / 475.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1314, allocations: 51.91 kB / 475.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.1351, allocations: 2.428 MB / 477.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1354, allocations: 23.91 kB / 477.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1354, allocations: 8 kB / 477.6 MB, free: 6.52 MB / 314.7 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.0001505/0.1356, allocations: 142.4 kB / 477.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1356, allocations: 23.72 kB / 477.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.1373, allocations: 0.6603 MB / 478.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1374, allocations: 4 kB / 478.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1374, allocations: 0 / 478.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1374, allocations: 3.984 kB / 478.5 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.1377, allocations: 397.1 kB / 478.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1377, allocations: 3.938 kB / 478.8 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1379, allocations: 47.92 kB / 478.9 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.1394, allocations: 332.5 kB / 479.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.1395, allocations: 11.98 kB / 479.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.143, allocations: 2.394 MB / 481.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1431, allocations: 0 / 481.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.1453, allocations: 1.41 MB / 483 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.1454, allocations: 104.7 kB / 483.1 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1454, allocations: 4 kB / 483.1 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.1456, allocations: 19.22 kB / 483.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.1457, allocations: 23.97 kB / 483.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.1457, allocations: 15.98 kB / 483.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1459, allocations: 131.5 kB / 483.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1459, allocations: 0 / 483.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.1464, allocations: 95.94 kB / 483.4 MB, free: 460 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0002225/0.1466, allocations: 123.4 kB / 483.5 MB, free: 324 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.1811/0.3277, allocations: 0.603 MB / 484.1 MB, free: 28.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3278, allocations: 3.844 kB / 484.1 MB, free: 28.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.3291, allocations: 432.5 kB / 484.6 MB, free: 28.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3294, allocations: 35.59 kB / 484.6 MB, free: 28.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3306, allocations: 0.7906 MB / 485.4 MB, free: 27.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3309, allocations: 0.7592 MB / 486.2 MB, free: 27.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.3311, allocations: 36.11 kB / 486.2 MB, free: 27.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.3312, allocations: 26.67 kB / 486.2 MB, free: 27.21 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3312, allocations: 3.125 kB / 486.2 MB, free: 27.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01124/0.3424, allocations: 5.799 MB / 492 MB, free: 26.93 MB / 314.7 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)