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.001084/0.001084, allocations: 114.4 kB / 17.69 MB, free: 5.309 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.00112/0.00112, allocations: 191 kB / 18.63 MB, free: 4.375 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.543/1.543, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2518/0.2518, allocations: 37.97 MB / 309.8 MB, free: 5.984 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.001597/0.001597, allocations: 67.91 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2409, allocations: 55.24 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005923/0.2469, allocations: 6.1 MB / 438.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.2497, allocations: 2.007 MB / 440.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.2501, allocations: 19.88 kB / 440.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.2515, allocations: 0.687 MB / 440.8 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006917/0.2522, allocations: 382.1 kB / 441.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.2531, allocations: 403 kB / 441.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000739/0.2538, allocations: 0.9355 MB / 442.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.2544, allocations: 0.4962 MB / 443 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.2548, allocations: 426.3 kB / 443.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.2554, allocations: 0.5334 MB / 444 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.2554, allocations: 56 kB / 444 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.2558, allocations: 235.7 kB / 444.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.2561, allocations: 415.1 kB / 444.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.2565, allocations: 429.9 kB / 445.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.2572, allocations: 1.016 MB / 446.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2572, allocations: 8 kB / 446.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2572, allocations: 3.938 kB / 446.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2573, allocations: 3.984 kB / 446.1 MB, free: 5.508 MB / 318.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.001454/0.2587, allocations: 1.06 MB / 447.2 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2588, allocations: 15.89 kB / 447.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.2594, allocations: 135.8 kB / 447.3 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.2603, allocations: 0.5439 MB / 447.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.2603, allocations: 58.38 kB / 447.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2605, allocations: 76.12 kB / 448 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.2617, allocations: 1.141 MB / 449.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.2618, allocations: 3.938 kB / 449.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.2618, allocations: 36 kB / 449.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.2619, allocations: 53.97 kB / 449.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2629, allocations: 0.8584 MB / 450.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.2676, allocations: 5.035 MB / 455.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.2683, allocations: 424.5 kB / 455.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.2686, allocations: 217.7 kB / 455.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.2686, allocations: 4 kB / 455.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2687, allocations: 42.55 kB / 455.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.2687, allocations: 0 / 455.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001743/0.2704, allocations: 1.067 MB / 456.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.2705, allocations: 85.17 kB / 456.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.271, allocations: 0.5016 MB / 457.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.271, allocations: 29.7 kB / 457.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.2713, allocations: 461.7 kB / 457.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2714, allocations: 149.8 kB / 458.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.2716, allocations: 158.4 kB / 458.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2718, allocations: 366.8 kB / 458.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.2721, allocations: 237.8 kB / 458.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.2728, allocations: 0.6132 MB / 459.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2738, allocations: 0.9418 MB / 460.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2739, allocations: 4 kB / 460.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001256/0.2751, allocations: 0.8923 MB / 461.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.2752, allocations: 12 kB / 461.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.2752, allocations: 12.09 kB / 461.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.2752, allocations: 24 kB / 461.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.2759, allocations: 219.6 kB / 461.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.276, allocations: 31.86 kB / 461.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.2764, allocations: 47.97 kB / 461.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.2764, allocations: 39.98 kB / 461.7 MB, free: 5.062 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003515/0.2768, allocations: 301.4 kB / 461.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.2769, allocations: 59.34 kB / 462 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009929/0.2779, allocations: 0.5679 MB / 462.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2779, allocations: 7.938 kB / 462.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2779, allocations: 0 / 462.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.2779, allocations: 3.984 kB / 462.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.28, allocations: 1.331 MB / 463.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.28, allocations: 4 kB / 463.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.2805, allocations: 107.9 kB / 464 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.2805, allocations: 8.188 kB / 464 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.2805, allocations: 19.98 kB / 464.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.2805, allocations: 7.938 kB / 464.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2805, allocations: 7.938 kB / 464.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.2813, allocations: 0.6418 MB / 464.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2814, allocations: 120.5 kB / 464.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.2815, allocations: 23.92 kB / 464.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2817, allocations: 19.98 kB / 464.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.2818, allocations: 35.95 kB / 464.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2818, allocations: 12 kB / 464.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.2821, allocations: 330.8 kB / 465.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2821, allocations: 0 / 465.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.2828, allocations: 164 kB / 465.4 MB, free: 1.156 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.283, allocations: 115.4 kB / 465.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009278/0.2839, allocations: 0.6108 MB / 466.1 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2839, allocations: 4.062 kB / 466.1 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.2842, allocations: 243.6 kB / 466.4 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.2849, allocations: 119.8 kB / 466.5 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.287, allocations: 1.357 MB / 467.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.2877, allocations: 0.9996 MB / 468.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.2881, allocations: 221 kB / 469.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2883, allocations: 47.44 kB / 469.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2883, allocations: 0 / 469.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Templates: time 0.01136/0.2996, allocations: 5.553 MB / 474.7 MB, free: 7.82 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)