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.001506/0.001512, allocations: 106.3 kB / 17.07 MB, free: 5.68 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.001877/0.001877, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05675/0.05675, allocations: 8.097 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2535, allocations: 51.52 MB / 414.7 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002468/0.256, allocations: 1.77 MB / 416.4 MB, free: 23.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2574, allocations: 1.477 MB / 417.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.2575, allocations: 8 kB / 417.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2578, allocations: 127.3 kB / 418.1 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.258, allocations: 99.3 kB / 418.2 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2593, allocations: 0.9219 MB / 419.1 MB, free: 21.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2595, allocations: 242.9 kB / 419.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2597, allocations: 119.7 kB / 419.4 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.2598, allocations: 103.6 kB / 419.5 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2599, allocations: 143.5 kB / 419.7 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.2599, allocations: 20 kB / 419.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.2602, allocations: 211.8 kB / 419.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.2603, allocations: 47.84 kB / 419.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.2603, allocations: 123.4 kB / 420.1 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.2607, allocations: 408.6 kB / 420.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2607, allocations: 0 / 420.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2607, allocations: 4 kB / 420.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2607, allocations: 3.938 kB / 420.5 MB, free: 19.76 MB / 302.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.001753/0.2625, allocations: 0.7685 MB / 421.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.507e-05/0.2625, allocations: 11.89 kB / 421.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.2626, allocations: 24.66 kB / 421.3 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.2627, allocations: 243.9 kB / 421.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2627, allocations: 20.94 kB / 421.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.2628, allocations: 24.38 kB / 421.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.2631, allocations: 301.4 kB / 421.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2632, allocations: 3.938 kB / 421.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2632, allocations: 12 kB / 421.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2632, allocations: 4 kB / 421.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.2635, allocations: 294.1 kB / 422.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2646, allocations: 0.8775 MB / 423 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.265, allocations: 292 kB / 423.3 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2652, allocations: 132.8 kB / 423.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.2652, allocations: 11.98 kB / 423.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2652, allocations: 34.56 kB / 423.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.582e-06/0.2652, allocations: 3.938 kB / 423.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001114/0.2664, allocations: 0.5167 MB / 424 MB, free: 16.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2664, allocations: 59.41 kB / 424.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2665, allocations: 167.2 kB / 424.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2666, allocations: 29.7 kB / 424.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.2666, allocations: 148.4 kB / 424.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.2667, allocations: 82.75 kB / 424.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.2668, allocations: 69.45 kB / 424.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.2668, allocations: 330.8 kB / 424.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.267, allocations: 131.9 kB / 425 MB, free: 14.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2672, allocations: 136 kB / 425.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2675, allocations: 285.3 kB / 425.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2675, allocations: 3.938 kB / 425.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005596/0.2681, allocations: 398 kB / 425.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2681, allocations: 11.98 kB / 425.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2681, allocations: 0 / 425.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.2684, allocations: 52.77 kB / 425.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.2686, allocations: 59.97 kB / 425.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2697, allocations: 1.531 MB / 427.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2699, allocations: 31.7 kB / 427.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.2699, allocations: 12 kB / 427.5 MB, free: 12.32 MB / 302.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.0001021/0.27, allocations: 145.9 kB / 427.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.2701, allocations: 15.75 kB / 427.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.2707, allocations: 348.5 kB / 428 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2707, allocations: 4 kB / 428 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2707, allocations: 0 / 428 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2707, allocations: 0 / 428 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.2709, allocations: 369.2 kB / 428.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.271, allocations: 0 / 428.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.2711, allocations: 47.91 kB / 428.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.2713, allocations: 48.83 kB / 428.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2713, allocations: 7.938 kB / 428.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/0.2723, allocations: 1.535 MB / 430 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2723, allocations: 3.938 kB / 430 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.2729, allocations: 400.7 kB / 430.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2729, allocations: 100.8 kB / 430.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.2729, allocations: 7.938 kB / 430.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2731, allocations: 4 kB / 430.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.2731, allocations: 23.91 kB / 430.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2732, allocations: 4 kB / 430.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.139e-05/0.2732, allocations: 138.9 kB / 430.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2732, allocations: 0 / 430.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.2736, allocations: 83.84 kB / 430.8 MB, free: 8.828 MB / 302.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.0001983/0.2738, allocations: 119.2 kB / 430.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.2746, allocations: 426.4 kB / 431.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2746, allocations: 0 / 431.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.275, allocations: 258.5 kB / 431.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2753, allocations: 8 kB / 431.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.276, allocations: 458 kB / 432 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2762, allocations: 0.7398 MB / 432.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2763, allocations: 29.52 kB / 432.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.2764, allocations: 23.42 kB / 432.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2764, allocations: 0 / 432.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of Templates: time 0.005134/0.2816, allocations: 2.732 MB / 435.5 MB, free: 3.992 MB / 302.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 cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)