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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 79.94 kB / 20.76 MB, free: 3.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000907/0.000907, allocations: 173 kB / 24.19 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9524/0.9524, allocations: 177.1 MB / 204.6 MB, free: 5.082 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03393/0.03393, allocations: 4.467 MB / 265.6 MB, free: 8.301 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.594e-05, allocations: 2.312 kB / 283.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001916/0.001932, allocations: 1.672 MB / 285.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.003842, allocations: 1.524 MB / 286.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.003917, allocations: 4 kB / 286.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.004227, allocations: 131.2 kB / 287 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.004431, allocations: 99.19 kB / 287.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.005416, allocations: 0.875 MB / 288 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.005698, allocations: 230.8 kB / 288.2 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.005832, allocations: 86.89 kB / 288.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.005984, allocations: 143.7 kB / 288.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.00614, allocations: 99.75 kB / 288.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.006165, allocations: 20 kB / 288.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.00648, allocations: 207.6 kB / 288.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.006515, allocations: 51.81 kB / 288.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.006575, allocations: 83.77 kB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.007007, allocations: 378.7 kB / 289.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.007009, allocations: 3.938 kB / 289.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007009, allocations: 0 / 289.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.007014, allocations: 0 / 289.3 MB, free: 0.5781 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.1186/0.1256, allocations: 0.6894 MB / 289.9 MB, free: 20.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.1256, allocations: 9.828 kB / 290 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.1257, allocations: 36.33 kB / 290 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1258, allocations: 152.2 kB / 290.1 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1258, allocations: 16.81 kB / 290.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1259, allocations: 24.47 kB / 290.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1261, allocations: 182.1 kB / 290.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1261, allocations: 1.281 kB / 290.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1261, allocations: 9.5 kB / 290.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1261, allocations: 6.672 kB / 290.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1262, allocations: 91.97 kB / 290.5 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.1269, allocations: 0.533 MB / 291 MB, free: 19.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1271, allocations: 166.8 kB / 291.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.1272, allocations: 51.06 kB / 291.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/0.1272, allocations: 10.03 kB / 291.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.1272, allocations: 41.16 kB / 291.3 MB, free: 19.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.212e-06/0.1272, allocations: 0 / 291.3 MB, free: 19.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004368/0.1277, allocations: 211.4 kB / 291.5 MB, free: 19.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.1277, allocations: 55.11 kB / 291.5 MB, free: 19.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.1278, allocations: 169.8 kB / 291.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1278, allocations: 31.83 kB / 291.7 MB, free: 19.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.1278, allocations: 149.2 kB / 291.9 MB, free: 19.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1279, allocations: 91.23 kB / 291.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.1279, allocations: 63.58 kB / 292 MB, free: 19.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.999e-05/0.1279, allocations: 327.3 kB / 292.3 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.128, allocations: 45.77 kB / 292.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.128, allocations: 48.11 kB / 292.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1282, allocations: 143.2 kB / 292.6 MB, free: 19.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1282, allocations: 1.094 kB / 292.6 MB, free: 19.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002349/0.1284, allocations: 202.8 kB / 292.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1284, allocations: 4.5 kB / 292.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1284, allocations: 5.672 kB / 292.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.1286, allocations: 32.52 kB / 292.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1287, allocations: 58.95 kB / 292.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005029/0.1292, allocations: 1.21 MB / 294.1 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.1293, allocations: 20.95 kB / 294.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1293, allocations: 10.47 kB / 294.1 MB, free: 17.84 MB / 266.7 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 5.864e-05/0.1294, allocations: 123.5 kB / 294.2 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1294, allocations: 20.53 kB / 294.2 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.1297, allocations: 186.1 kB / 294.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1297, allocations: 5.844 kB / 294.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1297, allocations: 0 / 294.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1297, allocations: 2.516 kB / 294.4 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.13, allocations: 396.7 kB / 294.8 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.13, allocations: 1.125 kB / 294.8 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.1301, allocations: 42.92 kB / 294.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.202e-05/0.1302, allocations: 34.25 kB / 294.9 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1302, allocations: 7.5 kB / 294.9 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004149/0.1306, allocations: 1.209 MB / 296.1 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1306, allocations: 2.719 kB / 296.1 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1308, allocations: 244.8 kB / 296.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.1308, allocations: 22.75 kB / 296.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1309, allocations: 4.891 kB / 296.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.144e-05/0.1309, allocations: 6 kB / 296.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1309, allocations: 18.84 kB / 296.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1309, allocations: 3.75 kB / 296.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.131, allocations: 43.78 kB / 296.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.131, allocations: 0.625 kB / 296.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.1312, allocations: 79.81 kB / 296.5 MB, free: 16.16 MB / 266.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: 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.0001087/0.1313, allocations: 100.8 kB / 296.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.1316, allocations: 273.8 kB / 296.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1316, allocations: 1 kB / 296.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1317, allocations: 193.2 kB / 297.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1319, allocations: 26.44 kB / 297.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.1325, allocations: 418.2 kB / 297.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.1326, allocations: 80.67 kB / 297.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.1326, allocations: 36.56 kB / 297.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1327, allocations: 70.09 kB / 297.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1327, allocations: 0 / 297.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.004551/0.1372, allocations: 3.007 MB / 300.7 MB, free: 15.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.602885005995631]