Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.00095, allocations: 86.12 kB / 16.31 MB, free: 5.66 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.001049/0.001049, allocations: 182.4 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 223.4 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3379/0.3379, allocations: 38.05 MB / 309.7 MB, free: 8.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006141/0.0006142, allocations: 18.17 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1006, allocations: 56.34 MB / 432.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00634/0.107, allocations: 6.512 MB / 439.4 MB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.1106, allocations: 2.253 MB / 441.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.1113, allocations: 47.69 kB / 441.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.1118, allocations: 138.9 kB / 441.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.113, allocations: 449.8 kB / 442.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1141, allocations: 391.2 kB / 442.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1153, allocations: 1.158 MB / 443.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.1166, allocations: 0.7807 MB / 444.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.1172, allocations: 342.5 kB / 444.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007835/0.118, allocations: 0.5259 MB / 445.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1181, allocations: 32 kB / 445.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.1186, allocations: 151.8 kB / 445.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.1189, allocations: 399 kB / 446 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.1192, allocations: 173.2 kB / 446.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1199, allocations: 0.7443 MB / 446.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.12, allocations: 0 / 446.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.12, allocations: 0 / 446.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.12, allocations: 0 / 446.9 MB, free: 8.559 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001546/0.1216, allocations: 0.935 MB / 447.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1216, allocations: 8.031 kB / 447.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000678/0.1223, allocations: 142.9 kB / 448 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.1231, allocations: 0.4961 MB / 448.5 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.1231, allocations: 62 kB / 448.5 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1233, allocations: 75.98 kB / 448.6 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1248, allocations: 1.126 MB / 449.7 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.1248, allocations: 11.92 kB / 449.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.1249, allocations: 35.98 kB / 449.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.125, allocations: 45.98 kB / 449.8 MB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1263, allocations: 0.8623 MB / 450.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1899/0.3161, allocations: 5.048 MB / 455.7 MB, free: 48.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.3169, allocations: 424.6 kB / 456.2 MB, free: 48.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3172, allocations: 210.5 kB / 456.4 MB, free: 48.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.3172, allocations: 6.906 kB / 456.4 MB, free: 48.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3173, allocations: 36.94 kB / 456.4 MB, free: 48.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.3173, allocations: 0 / 456.4 MB, free: 48.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001699/0.319, allocations: 1.068 MB / 457.5 MB, free: 48.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.319, allocations: 84.73 kB / 457.6 MB, free: 48.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.3195, allocations: 0.4981 MB / 458.1 MB, free: 48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3196, allocations: 32.52 kB / 458.1 MB, free: 47.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.3198, allocations: 460.7 kB / 458.5 MB, free: 47.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3199, allocations: 153.8 kB / 458.7 MB, free: 47.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.3199, allocations: 16.38 kB / 458.7 MB, free: 47.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.32, allocations: 366.8 kB / 459.1 MB, free: 47.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.3203, allocations: 236.8 kB / 459.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.3208, allocations: 0.6162 MB / 459.9 MB, free: 46.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.3212, allocations: 353.7 kB / 460.3 MB, free: 46.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.3213, allocations: 3.125 kB / 460.3 MB, free: 46.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001099/0.3224, allocations: 0.8979 MB / 461.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3224, allocations: 9.156 kB / 461.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.3224, allocations: 12.72 kB / 461.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.3225, allocations: 21.44 kB / 461.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.3231, allocations: 221.1 kB / 461.4 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.3231, allocations: 26.72 kB / 461.4 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.3235, allocations: 53.72 kB / 461.5 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.3236, allocations: 44.03 kB / 461.5 MB, free: 46.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003225/0.3239, allocations: 304.4 kB / 461.8 MB, free: 46.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.324, allocations: 49.75 kB / 461.9 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.3248, allocations: 0.5578 MB / 462.4 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3248, allocations: 6.375 kB / 462.4 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3248, allocations: 0 / 462.4 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3248, allocations: 5.922 kB / 462.4 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3267, allocations: 1.342 MB / 463.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3267, allocations: 7.594 kB / 463.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.3271, allocations: 110.2 kB / 463.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.3271, allocations: 6.594 kB / 463.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3272, allocations: 13.16 kB / 463.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3272, allocations: 6.312 kB / 463.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3272, allocations: 0 / 463.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.3279, allocations: 0.6482 MB / 464.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.328, allocations: 129.7 kB / 464.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.3281, allocations: 17.69 kB / 464.7 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3283, allocations: 15.92 kB / 464.7 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.3284, allocations: 38.22 kB / 464.8 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.3284, allocations: 23.02 kB / 464.8 MB, free: 45.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.3287, allocations: 326.4 kB / 465.1 MB, free: 45.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3287, allocations: 0 / 465.1 MB, free: 45.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006396/0.3294, allocations: 162.4 kB / 465.3 MB, free: 45.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.3295, allocations: 109.7 kB / 465.4 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.3302, allocations: 0.5951 MB / 466 MB, free: 45.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3302, allocations: 0 / 466 MB, free: 45.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3305, allocations: 237.9 kB / 466.2 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.3312, allocations: 117.3 kB / 466.3 MB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.333, allocations: 1.639 MB / 468 MB, free: 44.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3335, allocations: 1.002 MB / 469 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004891/0.334, allocations: 221.9 kB / 469.2 MB, free: 43.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3341, allocations: 51.72 kB / 469.2 MB, free: 43.67 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3341, allocations: 0 / 469.2 MB, free: 43.67 MB / 382.1 MB Notification: Performance of Templates: time 0.008622/0.3427, allocations: 5.102 MB / 474.3 MB, free: 43.34 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) Environment - environmentSimulation: