Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_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.000707/0.0007071, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0007393/0.0007393, allocations: 183 kB / 17.21 MB, free: 6.316 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.205/1.205, allocations: 223.3 MB / 241.2 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2778/0.2778, allocations: 38.08 MB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 12 kB / 400.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 59.16 MB / 459.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.004983/0.221, allocations: 6.513 MB / 465.7 MB, free: 25.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.2235, allocations: 2.214 MB / 468 MB, free: 24.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2238, allocations: 50.56 kB / 468 MB, free: 24.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.2241, allocations: 140.5 kB / 468.1 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007171/0.2248, allocations: 439.5 kB / 468.6 MB, free: 23.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.2256, allocations: 394.2 kB / 469 MB, free: 23.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009525/0.2266, allocations: 1.163 MB / 470.1 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.2276, allocations: 0.769 MB / 470.9 MB, free: 22.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.228, allocations: 355.8 kB / 471.2 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.2286, allocations: 0.5202 MB / 471.8 MB, free: 22.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.2287, allocations: 32.97 kB / 471.8 MB, free: 22.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.229, allocations: 150.4 kB / 471.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.2293, allocations: 394.3 kB / 472.3 MB, free: 22.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2295, allocations: 168 kB / 472.5 MB, free: 22.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.2302, allocations: 0.7503 MB / 473.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2302, allocations: 0 / 473.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2302, allocations: 0 / 473.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2302, allocations: 4 kB / 473.2 MB, free: 22.07 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.00117/0.2314, allocations: 0.9312 MB / 474.2 MB, free: 21.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.2314, allocations: 8.25 kB / 474.2 MB, free: 21.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.232, allocations: 138.1 kB / 474.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.2326, allocations: 0.5065 MB / 474.8 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.2327, allocations: 61.61 kB / 474.9 MB, free: 20.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.2328, allocations: 74.11 kB / 474.9 MB, free: 20.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.2341, allocations: 1.126 MB / 476.1 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.2341, allocations: 8.094 kB / 476.1 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.2342, allocations: 33.22 kB / 476.1 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/0.2342, allocations: 54.77 kB / 476.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2353, allocations: 0.8573 MB / 477 MB, free: 19.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.2388, allocations: 5.065 MB / 482.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.2394, allocations: 411.3 kB / 482.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.2397, allocations: 210.2 kB / 482.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.2397, allocations: 9.547 kB / 482.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2397, allocations: 45.47 kB / 482.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.2398, allocations: 0 / 482.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001425/0.2412, allocations: 1.067 MB / 483.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2412, allocations: 81.36 kB / 483.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.2416, allocations: 0.4969 MB / 484.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.2417, allocations: 31.98 kB / 484.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.2418, allocations: 459.7 kB / 484.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.2419, allocations: 156 kB / 485 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.242, allocations: 15.19 kB / 485 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.242, allocations: 362.2 kB / 485.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2423, allocations: 238.1 kB / 485.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2427, allocations: 0.6159 MB / 486.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.2431, allocations: 373.1 kB / 486.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2431, allocations: 4 kB / 486.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009283/0.244, allocations: 0.8846 MB / 487.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2441, allocations: 12 kB / 487.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2441, allocations: 12 kB / 487.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2441, allocations: 20 kB / 487.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.2447, allocations: 219.6 kB / 487.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.2447, allocations: 23.92 kB / 487.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.245, allocations: 60.14 kB / 487.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.2451, allocations: 48 kB / 487.9 MB, free: 10.59 MB / 350.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.0002256/0.2453, allocations: 309.3 kB / 488.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.2454, allocations: 51.34 kB / 488.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006952/0.2461, allocations: 0.5602 MB / 488.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2461, allocations: 8 kB / 488.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2461, allocations: 0 / 488.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2461, allocations: 0 / 488.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.2475, allocations: 1.328 MB / 490.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2475, allocations: 4 kB / 490.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.2479, allocations: 107.8 kB / 490.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.2479, allocations: 4 kB / 490.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2479, allocations: 15.95 kB / 490.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2479, allocations: 4 kB / 490.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2479, allocations: 4 kB / 490.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.2485, allocations: 0.6459 MB / 490.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.2485, allocations: 132.3 kB / 491 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.2486, allocations: 11.98 kB / 491.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2488, allocations: 27.92 kB / 491.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2489, allocations: 31.91 kB / 491.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2489, allocations: 23.92 kB / 491.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.2491, allocations: 326.9 kB / 491.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2491, allocations: 0 / 491.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.2497, allocations: 164 kB / 491.6 MB, free: 6.699 MB / 350.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 7.341e-05/0.2498, allocations: 107.2 kB / 491.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006259/0.2504, allocations: 0.5949 MB / 492.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2504, allocations: 3.938 kB / 492.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.2506, allocations: 240.6 kB / 492.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.2512, allocations: 110.2 kB / 492.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2527, allocations: 1.645 MB / 494.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.253, allocations: 0.996 MB / 495.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004654/0.2535, allocations: 225 kB / 495.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2536, allocations: 59.42 kB / 495.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2536, allocations: 0 / 495.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Templates: time 0.007831/0.2614, allocations: 5.107 MB / 0.489 GB, free: 13.57 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches