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/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 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.001159/0.001159, allocations: 106.3 kB / 16.45 MB, free: 6.449 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.001259/0.001259, allocations: 192.2 kB / 17.39 MB, free: 5.668 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05395/0.05395, allocations: 8.102 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.89 kB / 414.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 51.52 MB / 466 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003653/0.1179, allocations: 1.778 MB / 467.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1204, allocations: 1.473 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.1206, allocations: 4 kB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.1212, allocations: 131.3 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.1217, allocations: 99.3 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.1236, allocations: 0.9256 MB / 470.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.124, allocations: 230.9 kB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.1243, allocations: 131.6 kB / 470.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1244, allocations: 99.64 kB / 470.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.1248, allocations: 139.5 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.1248, allocations: 27.94 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.1253, allocations: 211.8 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.1254, allocations: 51.83 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1255, allocations: 123.3 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.1263, allocations: 414.8 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1263, allocations: 0 / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1263, allocations: 0 / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1263, allocations: 0 / 471.8 MB, free: 12.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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002431/0.1287, allocations: 0.7568 MB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1288, allocations: 12.03 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1289, allocations: 24.66 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1293, allocations: 240 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1293, allocations: 16.94 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.1293, allocations: 32.38 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.1299, allocations: 297.3 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1299, allocations: 7.938 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1299, allocations: 11.98 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.13, allocations: 8 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.1304, allocations: 286.1 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1319, allocations: 0.8929 MB / 474.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.1324, allocations: 282.5 kB / 474.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1326, allocations: 133.2 kB / 474.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.746e-05/0.1327, allocations: 7.938 kB / 474.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1327, allocations: 42.56 kB / 474.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1328, allocations: 0 / 474.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001228/0.134, allocations: 0.5195 MB / 475.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1341, allocations: 55.41 kB / 475.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1342, allocations: 164.6 kB / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1343, allocations: 29.7 kB / 475.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.1344, allocations: 148.2 kB / 475.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.1344, allocations: 90.73 kB / 475.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1346, allocations: 65.69 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1347, allocations: 326.8 kB / 476.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1349, allocations: 132 kB / 476.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1351, allocations: 128 kB / 476.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1356, allocations: 289.2 kB / 476.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1356, allocations: 3.938 kB / 476.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007479/0.1363, allocations: 406 kB / 477.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1364, allocations: 7.938 kB / 477.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1364, allocations: 0 / 477.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.1367, allocations: 60.81 kB / 477.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.137, allocations: 55.91 kB / 477.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.1386, allocations: 1.543 MB / 478.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1388, allocations: 19.75 kB / 478.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1389, allocations: 15.97 kB / 478.8 MB, free: 4.879 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.0001664/0.139, allocations: 149.8 kB / 479 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.1391, allocations: 19.75 kB / 479 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.1398, allocations: 347.8 kB / 479.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1398, allocations: 4 kB / 479.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1398, allocations: 0 / 479.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1398, allocations: 0 / 479.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.1402, allocations: 357.2 kB / 479.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1402, allocations: 4 kB / 479.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1404, allocations: 43.92 kB / 479.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.1406, allocations: 52.81 kB / 479.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1407, allocations: 4 kB / 479.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.142, allocations: 1.527 MB / 481.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1421, allocations: 8 kB / 481.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.1427, allocations: 409.7 kB / 481.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.1428, allocations: 96.84 kB / 481.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1428, allocations: 7.938 kB / 481.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1429, allocations: 8 kB / 481.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.143, allocations: 15.98 kB / 481.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.143, allocations: 11.98 kB / 481.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1431, allocations: 128.8 kB / 482 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1432, allocations: 0 / 482 MB, free: 1.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.1436, allocations: 83.84 kB / 482.1 MB, free: 1.391 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.0002186/0.1438, allocations: 123.2 kB / 482.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008612/0.1447, allocations: 430.5 kB / 482.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1447, allocations: 0 / 482.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.1451, allocations: 258.8 kB / 482.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1454, allocations: 12 kB / 482.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.1464, allocations: 452.1 kB / 483.3 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1467, allocations: 0.7435 MB / 484.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1468, allocations: 29.52 kB / 484.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.1469, allocations: 35.36 kB / 484.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1469, allocations: 0 / 484.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006256/0.1532, allocations: 2.746 MB / 486.9 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)