Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 94.8 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1626/0.1626, allocations: 38 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.296e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08751, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4298, allocations: 93.45 MB / 0.5472 GB, free: 1.488 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4301, allocations: 83.95 kB / 0.5473 GB, free: 1.406 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.4464, allocations: 6.1 MB / 0.5533 GB, free: 11.26 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4465, allocations: 0 / 0.5533 GB, free: 11.26 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.4465, allocations: 4.75 kB / 0.5533 GB, free: 11.25 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000661/0.4472, allocations: 0.5039 MB / 0.5538 GB, free: 10.7 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4472, allocations: 8.031 kB / 0.5538 GB, free: 10.7 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.4473, allocations: 35.92 kB / 0.5538 GB, free: 10.66 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.4491, allocations: 0.7401 MB / 0.5545 GB, free: 9.879 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4491, allocations: 4 kB / 0.5545 GB, free: 9.875 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.4492, allocations: 12 kB / 0.5545 GB, free: 9.863 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002892/0.4495, allocations: 148.8 kB / 0.5547 GB, free: 9.715 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.4498, allocations: 233.2 kB / 0.5549 GB, free: 9.461 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4499, allocations: 7.938 kB / 0.5549 GB, free: 9.453 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.4499, allocations: 0 / 0.5549 GB, free: 9.453 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4499, allocations: 7.984 kB / 0.5549 GB, free: 9.445 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.4512, allocations: 1.123 MB / 0.556 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4513, allocations: 77.16 kB / 0.5561 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.4514, allocations: 29.91 kB / 0.5561 GB, free: 8.117 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.4514, allocations: 0 / 0.5561 GB, free: 8.117 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4514, allocations: 34.5 kB / 0.5561 GB, free: 8.074 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4515, allocations: 3.938 kB / 0.5562 GB, free: 8.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.4521, allocations: 384.7 kB / 0.5565 GB, free: 7.641 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.4521, allocations: 77.11 kB / 0.5566 GB, free: 7.547 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4523, allocations: 196.5 kB / 0.5568 GB, free: 7.352 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.4523, allocations: 25.7 kB / 0.5568 GB, free: 7.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4525, allocations: 191.5 kB / 0.557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4525, allocations: 31.64 kB / 0.557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4525, allocations: 0 / 0.557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4526, allocations: 338.8 kB / 0.5573 GB, free: 6.754 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.4527, allocations: 20.38 kB / 0.5574 GB, free: 6.734 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.4528, allocations: 105.5 kB / 0.5575 GB, free: 6.586 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.4529, allocations: 55.89 kB / 0.5575 GB, free: 6.531 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4529, allocations: 0 / 0.5575 GB, free: 6.531 MB / 395.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002126/0.4531, allocations: 149.1 kB / 0.5577 GB, free: 6.379 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4531, allocations: 8 kB / 0.5577 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4531, allocations: 4.438 kB / 0.5577 GB, free: 6.367 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4531, allocations: 8 kB / 0.5577 GB, free: 6.359 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4533, allocations: 39.92 kB / 0.5577 GB, free: 6.32 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4533, allocations: 7.984 kB / 0.5577 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.4534, allocations: 4 kB / 0.5577 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4534, allocations: 12 kB / 0.5577 GB, free: 6.297 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 7.301e-05/0.4535, allocations: 116.8 kB / 0.5578 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.4536, allocations: 15.81 kB / 0.5579 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.4537, allocations: 87.45 kB / 0.5579 GB, free: 6.07 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4537, allocations: 4 kB / 0.5579 GB, free: 6.066 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4537, allocations: 3.984 kB / 0.558 GB, free: 6.062 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4537, allocations: 4 kB / 0.558 GB, free: 6.059 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.4541, allocations: 375.8 kB / 0.5583 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4541, allocations: 4 kB / 0.5583 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.4542, allocations: 12 kB / 0.5583 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4542, allocations: 0 / 0.5583 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4543, allocations: 7.984 kB / 0.5583 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4543, allocations: 4.031 kB / 0.5583 GB, free: 5.617 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4543, allocations: 3.938 kB / 0.5583 GB, free: 5.613 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.4545, allocations: 236.4 kB / 0.5586 GB, free: 5.348 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.4546, allocations: 100.8 kB / 0.5587 GB, free: 5.23 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.4546, allocations: 8.312 kB / 0.5587 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.4547, allocations: 4 kB / 0.5587 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.4547, allocations: 7.953 kB / 0.5587 GB, free: 5.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4547, allocations: 8 kB / 0.5587 GB, free: 5.203 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4549, allocations: 144.5 kB / 0.5588 GB, free: 5.059 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4549, allocations: 0 / 0.5588 GB, free: 5.059 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.4552, allocations: 43.92 kB / 0.5589 GB, free: 5.016 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0001333/0.4553, allocations: 101.1 kB / 0.559 GB, free: 4.91 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.4555, allocations: 75.88 kB / 0.559 GB, free: 4.836 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4555, allocations: 0 / 0.559 GB, free: 4.836 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.4555, allocations: 31.92 kB / 0.5591 GB, free: 4.805 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.4559, allocations: 45.48 kB / 0.5591 GB, free: 4.762 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.4565, allocations: 322.8 kB / 0.5594 GB, free: 4.414 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.4568, allocations: 0.7633 MB / 0.5602 GB, free: 3.625 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.4569, allocations: 34.06 kB / 0.5602 GB, free: 3.594 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.457, allocations: 19.42 kB / 0.5602 GB, free: 3.574 MB / 395.1 MB Notification: Performance of SimCode: time 2.4e-07/0.457, allocations: 0 / 0.5602 GB, free: 3.574 MB / 395.1 MB Notification: Performance of Templates: time 0.003953/0.4609, allocations: 1.508 MB / 0.5617 GB, free: 2.074 MB / 395.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches