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/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.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.0009423/0.0009427, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001185, allocations: 178.4 kB / 16.61 MB, free: 6.422 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: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2129/0.2129, allocations: 8.085 MB / 299.8 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 15.98 kB / 362.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 52.51 MB / 415.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001182/0.123, allocations: 0.6897 MB / 416 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1245, allocations: 1.361 MB / 417.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.1246, allocations: 4 kB / 417.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1248, allocations: 79.59 kB / 417.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.125, allocations: 75.73 kB / 417.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1261, allocations: 0.7007 MB / 418.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1263, allocations: 83.81 kB / 418.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1264, allocations: 29.09 kB / 418.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.1265, allocations: 35.84 kB / 418.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.1266, allocations: 43.84 kB / 418.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1266, allocations: 8 kB / 418.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.1269, allocations: 179.7 kB / 418.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.1269, allocations: 15.92 kB / 418.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.1269, allocations: 45.64 kB / 418.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1272, allocations: 187.8 kB / 418.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1272, allocations: 0 / 418.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1272, allocations: 0 / 418.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1272, allocations: 4 kB / 418.8 MB, free: 5.188 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001737/0.129, allocations: 0.6276 MB / 419.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.129, allocations: 11.97 kB / 419.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.1291, allocations: 15.86 kB / 419.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1293, allocations: 202.8 kB / 419.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1293, allocations: 12 kB / 419.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1293, allocations: 8 kB / 419.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.1296, allocations: 159.3 kB / 419.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1296, allocations: 0 / 419.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1296, allocations: 4 kB / 419.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1296, allocations: 7.984 kB / 419.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1298, allocations: 118.2 kB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007207/0.1305, allocations: 0.4965 MB / 420.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.1311, allocations: 166.6 kB / 420.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.1316, allocations: 0.5307 MB / 421.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1317, allocations: 42.5 kB / 421.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1317, allocations: 0 / 421.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007311/0.1324, allocations: 287.6 kB / 421.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1325, allocations: 81.2 kB / 421.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1326, allocations: 158.9 kB / 421.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1327, allocations: 33.7 kB / 421.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.1327, allocations: 111.8 kB / 421.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.1328, allocations: 43.38 kB / 421.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.1328, allocations: 4 kB / 421.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1329, allocations: 326.8 kB / 422.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.133, allocations: 56.36 kB / 422.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1331, allocations: 115.8 kB / 422.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1332, allocations: 72.27 kB / 422.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1332, allocations: 0 / 422.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004875/0.1337, allocations: 262.3 kB / 422.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1338, allocations: 10.28 kB / 422.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1338, allocations: 3.984 kB / 422.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.1342, allocations: 68.81 kB / 422.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1343, allocations: 39.91 kB / 422.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2415/0.3758, allocations: 1.372 MB / 424.2 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.3761, allocations: 20.22 kB / 424.2 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.3762, allocations: 11.33 kB / 424.2 MB, free: 40.2 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.3763, allocations: 130.1 kB / 424.4 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.3764, allocations: 12.91 kB / 424.4 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.377, allocations: 185.6 kB / 424.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.377, allocations: 0 / 424.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.377, allocations: 0.5 kB / 424.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.377, allocations: 3.438 kB / 424.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.3773, allocations: 229.7 kB / 424.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3773, allocations: 6.656 kB / 424.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.3774, allocations: 18.73 kB / 424.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.3778, allocations: 64.25 kB / 424.9 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3778, allocations: 4.812 kB / 424.9 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.379, allocations: 1.379 MB / 426.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.379, allocations: 4.859 kB / 426.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.3794, allocations: 266.6 kB / 426.5 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3795, allocations: 93.25 kB / 426.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3795, allocations: 0.625 kB / 426.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3796, allocations: 11.94 kB / 426.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3797, allocations: 14.92 kB / 426.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3797, allocations: 2.469 kB / 426.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.49e-05/0.3798, allocations: 117.8 kB / 426.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3798, allocations: 0 / 426.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.3802, allocations: 42.25 kB / 426.8 MB, free: 38.29 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.3804, allocations: 118 kB / 426.9 MB, free: 38.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.3811, allocations: 266.8 kB / 427.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3811, allocations: 2.812 kB / 427.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.3814, allocations: 186.6 kB / 427.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3815, allocations: 9.797 kB / 427.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.3821, allocations: 310.1 kB / 427.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3823, allocations: 0.7045 MB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.3824, allocations: 15.38 kB / 428.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.3824, allocations: 14.97 kB / 428.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3824, allocations: 0 / 428.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of Templates: time 0.004419/0.3869, allocations: 1.738 MB / 430.1 MB, free: 37 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) Environment - environmentSimulation: