Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 108.6 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.00172/0.00172, 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.333/1.333, 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.04497/0.04497, allocations: 8.094 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2444, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002448/0.2469, allocations: 1.064 MB / 415.7 MB, free: 24.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2486, allocations: 1.462 MB / 417.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2487, allocations: 7.938 kB / 417.2 MB, free: 22.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.249, allocations: 99.55 kB / 417.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.2493, allocations: 79.53 kB / 417.4 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2506, allocations: 0.8672 MB / 418.3 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2508, allocations: 111.4 kB / 418.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2509, allocations: 36.95 kB / 418.4 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.251, allocations: 43.86 kB / 418.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.2511, allocations: 55.75 kB / 418.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.2511, allocations: 8 kB / 418.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.2514, allocations: 207.8 kB / 418.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2514, allocations: 23.91 kB / 418.7 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.2515, allocations: 55.73 kB / 418.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.2518, allocations: 281 kB / 419.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2518, allocations: 0 / 419.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2518, allocations: 0 / 419.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2518, allocations: 0 / 419.1 MB, free: 21.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001757/0.2536, allocations: 0.6473 MB / 419.7 MB, free: 20.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2536, allocations: 15.88 kB / 419.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.2537, allocations: 20.69 kB / 419.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2539, allocations: 207.6 kB / 419.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2539, allocations: 8.375 kB / 420 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.2539, allocations: 16.31 kB / 420 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.2542, allocations: 154.8 kB / 420.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2542, allocations: 192 / 420.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2542, allocations: 11.94 kB / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2542, allocations: 4 kB / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2544, allocations: 116 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.255, allocations: 496.3 kB / 420.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.2556, allocations: 170.6 kB / 420.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.2557, allocations: 52.84 kB / 421 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/0.2561, allocations: 458.2 kB / 421.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2561, allocations: 42.5 kB / 421.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.2561, allocations: 0 / 421.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007138/0.2568, allocations: 295.3 kB / 421.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2569, allocations: 85.11 kB / 421.8 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.257, allocations: 159.8 kB / 422 MB, free: 17.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.257, allocations: 25.7 kB / 422 MB, free: 17.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.2571, allocations: 111.8 kB / 422.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2571, allocations: 39.45 kB / 422.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.2572, allocations: 41.7 kB / 422.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.2572, allocations: 330.8 kB / 422.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.2573, allocations: 60.3 kB / 422.6 MB, free: 17.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2574, allocations: 112.4 kB / 422.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.2576, allocations: 183.5 kB / 422.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2576, allocations: 0 / 422.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004662/0.2581, allocations: 258.3 kB / 423.1 MB, free: 16.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2581, allocations: 4 kB / 423.1 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2581, allocations: 4 kB / 423.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.2585, allocations: 68.73 kB / 423.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2587, allocations: 35.92 kB / 423.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.2597, allocations: 1.488 MB / 424.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2599, allocations: 23.78 kB / 424.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2599, allocations: 8 kB / 424.7 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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 8.188e-05/0.26, allocations: 129.7 kB / 424.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.26, allocations: 7.906 kB / 424.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.2604, allocations: 183.2 kB / 425 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2604, allocations: 4 kB / 425.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2604, allocations: 0 / 425.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2605, allocations: 3.984 kB / 425.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.2606, allocations: 241.4 kB / 425.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2606, allocations: 3.938 kB / 425.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.2607, allocations: 15.94 kB / 425.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.261, allocations: 68.8 kB / 425.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.261, allocations: 4 kB / 425.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000869/0.2619, allocations: 1.472 MB / 426.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2619, allocations: 160 / 426.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.2623, allocations: 264.3 kB / 427.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.2623, allocations: 89 kB / 427.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2623, allocations: 8 kB / 427.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2625, allocations: 8.359 kB / 427.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.2625, allocations: 15.98 kB / 427.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2625, allocations: 3.938 kB / 427.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.2626, allocations: 125.5 kB / 427.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2626, allocations: 3.938 kB / 427.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.2629, allocations: 40 kB / 427.4 MB, free: 11.97 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 (10): * Single equations (assignments): 9 * 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.0001525/0.263, allocations: 119.2 kB / 427.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.2636, allocations: 270.5 kB / 427.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2636, allocations: 0 / 427.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.2638, allocations: 178.6 kB / 428 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2641, allocations: 23.38 kB / 428 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.2646, allocations: 254.3 kB / 428.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2647, allocations: 0.7083 MB / 428.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.2648, allocations: 20.86 kB / 429 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.2648, allocations: 11.44 kB / 429 MB, free: 10.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2648, allocations: 0 / 429 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Templates: time 0.00437/0.2692, allocations: 1.872 MB / 430.8 MB, free: 8.449 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)