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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(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.002037/0.002037, allocations: 109.1 kB / 17.28 MB, free: 6.059 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.002418/0.002418, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.866/2.866, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.9329/0.9329, allocations: 38.01 MB / 330 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 60.36 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2482, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.01398/0.2622, allocations: 7.358 MB / 464.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007735/0.2701, allocations: 2.314 MB / 466.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.2719, allocations: 47.69 kB / 466.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.275, allocations: 0.6534 MB / 467.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.2769, allocations: 354.5 kB / 467.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.279, allocations: 367.3 kB / 468.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.2813, allocations: 0.9394 MB / 469 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.2829, allocations: 0.5469 MB / 469.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.2842, allocations: 426.3 kB / 470 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.2857, allocations: 0.5686 MB / 470.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.2859, allocations: 60 kB / 470.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009741/0.2869, allocations: 231.7 kB / 470.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007502/0.2877, allocations: 426.9 kB / 471.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008826/0.2886, allocations: 426 kB / 471.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.2904, allocations: 0.768 MB / 472.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.2905, allocations: 0 / 472.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2905, allocations: 0 / 472.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.2905, allocations: 4 kB / 472.4 MB, free: 8.902 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003542/0.2941, allocations: 1.075 MB / 473.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/0.2942, allocations: 11.89 kB / 473.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.2955, allocations: 135.8 kB / 473.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.297, allocations: 0.5244 MB / 474.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.2971, allocations: 58.38 kB / 474.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.2974, allocations: 76.12 kB / 474.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.3003, allocations: 1.126 MB / 475.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.3004, allocations: 7.938 kB / 475.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.3005, allocations: 32 kB / 475.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.3007, allocations: 57.97 kB / 475.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.3033, allocations: 0.8584 MB / 476.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.3141, allocations: 5.074 MB / 481.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.3156, allocations: 423.7 kB / 481.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.3162, allocations: 213.7 kB / 482.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.3163, allocations: 4 kB / 482.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.3164, allocations: 46.55 kB / 482.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 7.264e-06/0.3164, allocations: 0 / 482.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004687/0.3211, allocations: 1.064 MB / 483.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3213, allocations: 85.06 kB / 483.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.3226, allocations: 0.49 MB / 483.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.3227, allocations: 33.7 kB / 483.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.3234, allocations: 461.6 kB / 484.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.3236, allocations: 150 kB / 484.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.324, allocations: 158.4 kB / 484.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003094/0.3244, allocations: 370.8 kB / 484.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/0.3292, allocations: 237.8 kB / 485.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3306, allocations: 0.6093 MB / 485.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.333, allocations: 0.9418 MB / 486.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.3331, allocations: 4 kB / 486.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002802/0.3359, allocations: 0.8994 MB / 487.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.336, allocations: 12 kB / 487.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/0.3361, allocations: 12 kB / 487.6 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.739e-05/0.3362, allocations: 20 kB / 487.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/0.3417, allocations: 215.6 kB / 487.8 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-05/0.3418, allocations: 24.41 kB / 487.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3429, allocations: 59.86 kB / 487.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.3431, allocations: 43.98 kB / 488 MB, free: 8.438 MB / 366.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.0009689/0.3441, allocations: 305.3 kB / 488.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.3444, allocations: 51.34 kB / 488.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.3466, allocations: 0.5641 MB / 488.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.3466, allocations: 4 kB / 488.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.3466, allocations: 0 / 488.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.3467, allocations: 3.984 kB / 488.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.3517, allocations: 1.34 MB / 490.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.3517, allocations: 4 kB / 490.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.3527, allocations: 111.9 kB / 490.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.539e-05/0.3527, allocations: 7.938 kB / 490.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.3528, allocations: 11.98 kB / 490.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.3528, allocations: 4.25 kB / 490.4 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.475e-05/0.357, allocations: 11.94 kB / 490.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3587, allocations: 0.6404 MB / 491 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.3591, allocations: 124.4 kB / 491.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.3593, allocations: 23.92 kB / 491.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.36, allocations: 19.92 kB / 491.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3601, allocations: 35.95 kB / 491.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.3601, allocations: 16 kB / 491.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008737/0.361, allocations: 330.8 kB / 491.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3611, allocations: 0 / 491.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0017/0.3628, allocations: 160 kB / 491.7 MB, free: 4.531 MB / 366.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.0003124/0.3631, allocations: 111.1 kB / 491.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3653, allocations: 0.6978 MB / 492.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.3653, allocations: 320 / 492.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.3659, allocations: 243.6 kB / 492.8 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.3673, allocations: 108.8 kB / 492.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.3766, allocations: 1.762 MB / 494.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.378, allocations: 1.003 MB / 495.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.3784, allocations: 59.42 kB / 495.7 MB, free: 472 kB / 366.1 MB Notification: Performance of SimCode: time 1.774e-06/0.3784, allocations: 0 / 495.7 MB, free: 472 kB / 366.1 MB Notification: Performance of Templates: time 0.02822/0.4067, allocations: 8.191 MB / 0.4921 GB, free: 8.277 MB / 382.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)