Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.4 kB / 17.13 MB, free: 6.035 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.0016/0.0016, allocations: 190.4 kB / 18.06 MB, free: 5.109 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.523/1.523, 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.057/0.057, allocations: 8.097 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.09746, allocations: 51.52 MB / 466.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003152/0.1006, allocations: 1.785 MB / 468.5 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1028, allocations: 1.469 MB / 469.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.1028, allocations: 8 kB / 469.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.1032, allocations: 127.3 kB / 470.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.1035, allocations: 107.3 kB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1053, allocations: 0.9335 MB / 471.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.1056, allocations: 242.8 kB / 471.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1058, allocations: 87.73 kB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.106, allocations: 99.64 kB / 471.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1062, allocations: 143.4 kB / 471.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.1062, allocations: 20 kB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.1066, allocations: 207.8 kB / 471.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1067, allocations: 51.78 kB / 471.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1068, allocations: 119.4 kB / 472 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.1074, allocations: 422.5 kB / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1075, allocations: 4 kB / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1075, allocations: 0 / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1075, allocations: 0 / 472.5 MB, free: 12.31 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002368/0.1098, allocations: 0.7717 MB / 473.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1099, allocations: 11.89 kB / 473.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1099, allocations: 28.75 kB / 473.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1102, allocations: 244 kB / 473.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1102, allocations: 24.94 kB / 473.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.1103, allocations: 28.31 kB / 473.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.1108, allocations: 297.4 kB / 473.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1108, allocations: 3.938 kB / 473.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1108, allocations: 8 kB / 473.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1108, allocations: 8 kB / 473.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.1113, allocations: 294.1 kB / 474.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1128, allocations: 0.8815 MB / 475 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.1134, allocations: 262.5 kB / 475.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1136, allocations: 121.2 kB / 475.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.1136, allocations: 15.94 kB / 475.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1137, allocations: 30.56 kB / 475.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.1137, allocations: 0 / 475.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001328/0.115, allocations: 0.5235 MB / 476 MB, free: 8.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.115, allocations: 55.41 kB / 476 MB, free: 8.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1152, allocations: 164.8 kB / 476.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1152, allocations: 29.7 kB / 476.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1154, allocations: 156.6 kB / 476.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.1154, allocations: 91.17 kB / 476.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1156, allocations: 61.69 kB / 476.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1157, allocations: 330.8 kB / 476.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1159, allocations: 132 kB / 477 MB, free: 7.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1162, allocations: 135.9 kB / 477.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.1166, allocations: 285.2 kB / 477.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1166, allocations: 3.938 kB / 477.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000763/0.1174, allocations: 398.2 kB / 477.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1174, allocations: 8 kB / 477.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.1174, allocations: 0 / 477.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.1178, allocations: 56.75 kB / 477.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.1181, allocations: 55.97 kB / 477.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.1197, allocations: 1.543 MB / 479.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.1199, allocations: 27.81 kB / 479.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1199, allocations: 11.98 kB / 479.5 MB, free: 4.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.1201, allocations: 141.9 kB / 479.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.1201, allocations: 19.84 kB / 479.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.1209, allocations: 347.7 kB / 480 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1209, allocations: 4 kB / 480 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1209, allocations: 0 / 480 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1209, allocations: 0 / 480 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.1213, allocations: 377.2 kB / 480.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1213, allocations: 4 kB / 480.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1215, allocations: 39.92 kB / 480.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.1217, allocations: 52.81 kB / 480.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1218, allocations: 4 kB / 480.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.1233, allocations: 1.535 MB / 482 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1233, allocations: 3.938 kB / 482 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.124, allocations: 393.8 kB / 482.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.1241, allocations: 100.9 kB / 482.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1241, allocations: 7.938 kB / 482.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1242, allocations: 4 kB / 482.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1243, allocations: 20.05 kB / 482.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1243, allocations: 11.92 kB / 482.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1244, allocations: 131.2 kB / 482.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1244, allocations: 3.938 kB / 482.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.1248, allocations: 79.89 kB / 482.7 MB, free: 1.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.1251, allocations: 119.2 kB / 482.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.1259, allocations: 406.3 kB / 483.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.126, allocations: 0 / 483.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.1264, allocations: 254.6 kB / 483.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1267, allocations: 12 kB / 483.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.1276, allocations: 451.8 kB / 483.9 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.1281, allocations: 0.7435 MB / 484.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1282, allocations: 29.53 kB / 484.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.1283, allocations: 27.42 kB / 484.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1283, allocations: 0 / 484.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.00685/0.1351, allocations: 2.795 MB / 487.5 MB, free: 12.51 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)