Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008149/0.0008151, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1504/0.1504, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.569e-05, allocations: 4 kB / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09997, allocations: 56.32 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.49, allocations: 95.2 MB / 0.5559 GB, free: 7.457 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4903, allocations: 89.5 kB / 0.556 GB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.5089, allocations: 7.402 MB / 0.5632 GB, free: 1.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5089, allocations: 0 / 0.5632 GB, free: 1.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.5089, allocations: 12 kB / 0.5632 GB, free: 1.016 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006749/0.5096, allocations: 0.5727 MB / 0.5638 GB, free: 428 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5097, allocations: 12.03 kB / 0.5638 GB, free: 416 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.5097, allocations: 43.81 kB / 0.5639 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.5116, allocations: 0.8039 MB / 0.5646 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5116, allocations: 24.12 kB / 0.5647 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.5117, allocations: 26.25 kB / 0.5647 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.5122, allocations: 349.4 kB / 0.565 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5122, allocations: 0 / 0.565 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.5122, allocations: 6.812 kB / 0.565 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.5122, allocations: 8 kB / 0.565 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.5126, allocations: 230.3 kB / 0.5653 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.5141, allocations: 1.373 MB / 0.5666 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.5145, allocations: 158.6 kB / 0.5667 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.5147, allocations: 98 kB / 0.5668 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5147, allocations: 4 kB / 0.5668 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.5147, allocations: 33.81 kB / 0.5669 GB, free: 13.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.5147, allocations: 0 / 0.5669 GB, free: 13.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001006/0.5157, allocations: 0.596 MB / 0.5675 GB, free: 13.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.5158, allocations: 92.38 kB / 0.5675 GB, free: 12.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.5161, allocations: 260.6 kB / 0.5678 GB, free: 12.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5161, allocations: 29.14 kB / 0.5678 GB, free: 12.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.5162, allocations: 215.2 kB / 0.568 GB, free: 12.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.5163, allocations: 56.52 kB / 0.5681 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.5163, allocations: 3.438 kB / 0.5681 GB, free: 12.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5164, allocations: 340.2 kB / 0.5684 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.5165, allocations: 61.97 kB / 0.5685 GB, free: 12.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.5167, allocations: 161.5 kB / 0.5686 GB, free: 11.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.5168, allocations: 90.36 kB / 0.5687 GB, free: 11.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5168, allocations: 4 kB / 0.5687 GB, free: 11.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000454/0.5173, allocations: 305 kB / 0.569 GB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5173, allocations: 12.42 kB / 0.569 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5173, allocations: 8 kB / 0.569 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.5175, allocations: 48.08 kB / 0.5691 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5177, allocations: 47.55 kB / 0.5691 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.519, allocations: 1.463 MB / 0.5705 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5191, allocations: 15.77 kB / 0.5706 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.5192, allocations: 8 kB / 0.5706 GB, free: 9.922 MB / 378.7 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.5192, allocations: 127.8 kB / 0.5707 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.5193, allocations: 27.67 kB / 0.5707 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.5197, allocations: 229.2 kB / 0.5709 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5197, allocations: 4 kB / 0.5709 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5197, allocations: 0 / 0.5709 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5197, allocations: 0 / 0.5709 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.5206, allocations: 0.6203 MB / 0.5715 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5206, allocations: 11.98 kB / 0.5716 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.5207, allocations: 19.62 kB / 0.5716 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.5209, allocations: 55.83 kB / 0.5716 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.5209, allocations: 7.312 kB / 0.5716 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.522, allocations: 1.458 MB / 0.5731 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5221, allocations: 0 / 0.5731 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.5225, allocations: 421.7 kB / 0.5735 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.5226, allocations: 104.8 kB / 0.5736 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5227, allocations: 6.75 kB / 0.5736 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5228, allocations: 3.812 kB / 0.5736 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.5228, allocations: 15.92 kB / 0.5736 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.5229, allocations: 7.688 kB / 0.5736 GB, free: 6.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.523, allocations: 206 kB / 0.5738 GB, free: 6.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.523, allocations: 0 / 0.5738 GB, free: 6.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000377/0.5234, allocations: 74.56 kB / 0.5739 GB, free: 6.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.5236, allocations: 106.7 kB / 0.574 GB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.5241, allocations: 283.8 kB / 0.5742 GB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5241, allocations: 0.875 kB / 0.5742 GB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.5244, allocations: 201.4 kB / 0.5744 GB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.5248, allocations: 66.89 kB / 0.5745 GB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.5256, allocations: 0.5236 MB / 0.575 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.526, allocations: 0.8139 MB / 0.5758 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.5262, allocations: 42.95 kB / 0.5758 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.5262, allocations: 27.31 kB / 0.5759 GB, free: 4.637 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5262, allocations: 0 / 0.5759 GB, free: 4.637 MB / 378.7 MB Notification: Performance of Templates: time 0.005873/0.5321, allocations: 2.722 MB / 0.5785 GB, free: 1.93 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches