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.001261/0.001261, allocations: 105.2 kB / 16.45 MB, free: 6.445 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: 186.4 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05392/0.05392, allocations: 8.099 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 414.5 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 51.5 MB / 466 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.0033/0.1198, allocations: 1.785 MB / 467.8 MB, free: 492 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1221, allocations: 1.473 MB / 469.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1222, allocations: 7.938 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.1226, allocations: 123.3 kB / 469.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.123, allocations: 99.31 kB / 469.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1247, allocations: 0.9296 MB / 470.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.1251, allocations: 234.9 kB / 470.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.1253, allocations: 127.7 kB / 470.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1254, allocations: 103.6 kB / 470.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1256, allocations: 139.5 kB / 471 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1257, allocations: 20 kB / 471 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.1261, allocations: 211.8 kB / 471.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1262, allocations: 51.83 kB / 471.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1263, allocations: 127.3 kB / 471.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.1269, allocations: 410.8 kB / 471.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1269, allocations: 0 / 471.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1269, allocations: 0 / 471.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.1269, allocations: 0 / 471.8 MB, free: 12.43 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.002187/0.1291, allocations: 0.7607 MB / 472.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1292, allocations: 8.031 kB / 472.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.1293, allocations: 32.64 kB / 472.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1296, allocations: 240 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1296, allocations: 24.94 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1296, allocations: 24.38 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.1302, allocations: 293.4 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1302, allocations: 7.875 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1302, allocations: 8 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.1302, allocations: 8 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.1307, allocations: 294.1 kB / 473.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.1322, allocations: 0.889 MB / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1327, allocations: 278.5 kB / 474.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.133, allocations: 137.2 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.133, allocations: 15.92 kB / 474.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1331, allocations: 34.56 kB / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.1331, allocations: 0 / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001204/0.1343, allocations: 0.5117 MB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1343, allocations: 59.39 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1345, allocations: 168.4 kB / 475.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1345, allocations: 33.64 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1347, allocations: 152.3 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.432e-05/0.1348, allocations: 86.73 kB / 475.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.135, allocations: 61.69 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1351, allocations: 330.8 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1353, allocations: 124 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.1355, allocations: 132 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.1359, allocations: 289.1 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1359, allocations: 3.938 kB / 476.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006876/0.1366, allocations: 406 kB / 477.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1366, allocations: 10.5 kB / 477.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1367, allocations: 0 / 477.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000303/0.137, allocations: 52.81 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.1373, allocations: 59.91 kB / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.1391, allocations: 1.55 MB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1393, allocations: 19.78 kB / 478.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1393, allocations: 16.16 kB / 478.8 MB, free: 4.996 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.0001691/0.1395, allocations: 141.8 kB / 479 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1395, allocations: 19.75 kB / 479 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.1402, allocations: 339.8 kB / 479.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1402, allocations: 4 kB / 479.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1402, allocations: 3.984 kB / 479.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1402, allocations: 4 kB / 479.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1406, allocations: 365.2 kB / 479.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1406, allocations: 0 / 479.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1408, allocations: 39.92 kB / 479.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.141, allocations: 52.81 kB / 479.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.141, allocations: 8 kB / 479.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.1425, allocations: 1.539 MB / 481.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1425, allocations: 3.938 kB / 481.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.1431, allocations: 397.7 kB / 481.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.1432, allocations: 92.86 kB / 481.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1432, allocations: 15.92 kB / 481.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1434, allocations: 8.062 kB / 481.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1434, allocations: 15.98 kB / 481.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1434, allocations: 7.938 kB / 481.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1435, allocations: 132.9 kB / 482 MB, free: 1.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1436, allocations: 0 / 482 MB, free: 1.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.144, allocations: 83.83 kB / 482.1 MB, free: 1.512 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.0002479/0.1442, allocations: 119.2 kB / 482.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009092/0.1451, allocations: 426.5 kB / 482.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1451, allocations: 0 / 482.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.1456, allocations: 258.8 kB / 482.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1459, allocations: 16 kB / 482.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.147, allocations: 452.1 kB / 483.3 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.1475, allocations: 0.7435 MB / 484.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1476, allocations: 37.52 kB / 484.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.1477, allocations: 23.44 kB / 484.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1477, allocations: 0 / 484.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.006368/0.154, allocations: 2.75 MB / 486.9 MB, free: 12.63 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)