Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 106.2 kB / 16.68 MB, free: 6.324 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.001746/0.001746, allocations: 184.4 kB / 17.61 MB, free: 5.754 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.364/1.364, allocations: 222.9 MB / 241.3 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05594/0.05594, allocations: 8.099 MB / 299.5 MB, free: 6.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 361.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2444, allocations: 51.53 MB / 413.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002366/0.2468, allocations: 1.655 MB / 415.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2483, allocations: 1.54 MB / 416.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.2484, allocations: 4 kB / 416.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2487, allocations: 107.6 kB / 416.7 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.249, allocations: 127.4 kB / 416.8 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.2503, allocations: 0.969 MB / 417.8 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.2506, allocations: 250.8 kB / 418 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2508, allocations: 83.86 kB / 418.1 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.2509, allocations: 103.6 kB / 418.2 MB, free: 20.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.251, allocations: 127.5 kB / 418.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.2511, allocations: 16 kB / 418.4 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.2514, allocations: 239.7 kB / 418.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.2514, allocations: 47.83 kB / 418.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.2515, allocations: 127.3 kB / 418.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.2518, allocations: 297.3 kB / 419.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2518, allocations: 0 / 419.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2518, allocations: 4 kB / 419.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2518, allocations: 0 / 419.1 MB, free: 20.1 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003135/0.255, allocations: 0.9982 MB / 420.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.255, allocations: 11.89 kB / 420.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.2551, allocations: 24.66 kB / 420.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.2553, allocations: 259.9 kB / 420.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2554, allocations: 16.7 kB / 420.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.2554, allocations: 16.38 kB / 420.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.2558, allocations: 306.5 kB / 420.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2558, allocations: 192 / 420.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.2559, allocations: 11.94 kB / 420.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2559, allocations: 4 kB / 420.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.2562, allocations: 243.9 kB / 420.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.2575, allocations: 1.172 MB / 422.1 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.2581, allocations: 310.5 kB / 422.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2583, allocations: 156.8 kB / 422.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.2583, allocations: 7.984 kB / 422.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2584, allocations: 34.56 kB / 422.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.2584, allocations: 7.938 kB / 422.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003538/0.2619, allocations: 1.07 MB / 423.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.262, allocations: 106.8 kB / 423.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2621, allocations: 207 kB / 424 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2622, allocations: 41.7 kB / 424 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.2622, allocations: 128.8 kB / 424.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.2623, allocations: 86.75 kB / 424.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.2624, allocations: 77.52 kB / 424.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.2625, allocations: 330.8 kB / 424.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.2627, allocations: 180.2 kB / 424.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.263, allocations: 210.4 kB / 425 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.2634, allocations: 389.4 kB / 425.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2634, allocations: 4 kB / 425.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001849/0.2653, allocations: 0.7435 MB / 426.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2653, allocations: 4 kB / 426.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2653, allocations: 8 kB / 426.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.2673, allocations: 420.4 kB / 426.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.2676, allocations: 59.91 kB / 426.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.2712, allocations: 2.729 MB / 429.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.2715, allocations: 35.67 kB / 429.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.2716, allocations: 19.97 kB / 429.4 MB, free: 9.25 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 (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.2717, allocations: 141.8 kB / 429.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.2718, allocations: 19.72 kB / 429.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.2737, allocations: 0.6988 MB / 430.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2737, allocations: 4 kB / 430.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.2737, allocations: 0 / 430.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2737, allocations: 3.984 kB / 430.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.274, allocations: 393.2 kB / 430.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.274, allocations: 0 / 430.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.2741, allocations: 31.98 kB / 430.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/0.2761, allocations: 424.4 kB / 431.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.2761, allocations: 8 kB / 431.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.2795, allocations: 2.695 MB / 433.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2795, allocations: 3.938 kB / 433.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.2813, allocations: 0.7506 MB / 434.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.2814, allocations: 92.86 kB / 434.7 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.2814, allocations: 8 kB / 434.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.2817, allocations: 35.91 kB / 434.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.2818, allocations: 15.97 kB / 434.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2818, allocations: 16 kB / 434.7 MB, free: 3.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.2819, allocations: 156.4 kB / 434.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2819, allocations: 0 / 434.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.2824, allocations: 107.9 kB / 435 MB, free: 3.426 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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.2826, allocations: 119.1 kB / 435.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2839, allocations: 0.6273 MB / 435.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2839, allocations: 0 / 435.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.2848, allocations: 414.5 kB / 436.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2852, allocations: 39.81 kB / 436.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.2859, allocations: 0.6077 MB / 436.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2861, allocations: 0.7446 MB / 437.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.2861, allocations: 31.42 kB / 437.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2861, allocations: 0 / 437.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of Templates: time 0.006628/0.2928, allocations: 4.984 MB / 442.5 MB, free: 11.79 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)