Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006626/0.0006626, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0007388/0.0007388, allocations: 182 kB / 17.56 MB, free: 6.203 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.157/1.157, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1562/0.1562, allocations: 38.09 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 12.28 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08221, allocations: 59.16 MB / 459.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004476/0.08671, allocations: 4.342 MB / 464.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.08833, allocations: 1.075 MB / 465.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.08864, allocations: 23.88 kB / 465.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.08881, allocations: 39.69 kB / 465.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.08928, allocations: 163.2 kB / 465.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.08949, allocations: 83.91 kB / 465.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.09, allocations: 0.5217 MB / 466.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.09021, allocations: 105.7 kB / 466.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.09047, allocations: 143.2 kB / 466.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.0908, allocations: 179.3 kB / 466.5 MB, free: 376 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.09084, allocations: 12 kB / 466.6 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.09089, allocations: 8 kB / 466.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.09098, allocations: 75.73 kB / 466.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.09113, allocations: 156.9 kB / 466.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.09138, allocations: 282.9 kB / 467.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09139, allocations: 0 / 467.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0914, allocations: 0 / 467.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09141, allocations: 0 / 467.1 MB, free: 15.83 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007797/0.09219, allocations: 0.5464 MB / 467.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.09223, allocations: 12.03 kB / 467.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.09231, allocations: 32.56 kB / 467.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.09269, allocations: 322.9 kB / 468 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.09272, allocations: 20.56 kB / 468 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.09276, allocations: 20 kB / 468 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.09314, allocations: 294.8 kB / 468.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.09316, allocations: 4 kB / 468.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.09318, allocations: 4 kB / 468.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.0932, allocations: 8 kB / 468.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.09346, allocations: 180.9 kB / 468.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.09461, allocations: 1.232 MB / 469.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.09488, allocations: 121.2 kB / 469.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.09496, allocations: 41.77 kB / 469.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.09498, allocations: 4 kB / 469.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.09501, allocations: 34.55 kB / 469.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.09502, allocations: 0 / 469.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006868/0.09571, allocations: 489.1 kB / 470.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.09576, allocations: 85.11 kB / 470.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.09596, allocations: 238.7 kB / 470.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.09599, allocations: 29.7 kB / 470.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.09609, allocations: 195.6 kB / 470.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.09613, allocations: 43.56 kB / 471 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.09617, allocations: 29.8 kB / 471 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.09627, allocations: 342.7 kB / 471.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.09634, allocations: 31.98 kB / 471.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.09645, allocations: 128.9 kB / 471.5 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.09665, allocations: 196.6 kB / 471.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.09666, allocations: 4 kB / 471.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002672/0.09693, allocations: 197.1 kB / 471.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.09695, allocations: 14.11 kB / 471.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.09696, allocations: 4.438 kB / 471.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.09698, allocations: 8 kB / 471.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.09713, allocations: 43.92 kB / 472 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.09714, allocations: 7.938 kB / 472 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.09725, allocations: 11.94 kB / 472 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.09728, allocations: 15.98 kB / 472 MB, free: 10.46 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.00011/0.09739, allocations: 153.7 kB / 472.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.09744, allocations: 23.72 kB / 472.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.09765, allocations: 127.4 kB / 472.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.09766, allocations: 4 kB / 472.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09767, allocations: 0 / 472.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.09768, allocations: 3.938 kB / 472.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.09814, allocations: 483.1 kB / 472.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.09815, allocations: 0 / 472.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.09827, allocations: 27.92 kB / 472.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.09828, allocations: 0 / 472.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.09829, allocations: 7.938 kB / 472.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.0983, allocations: 8.031 kB / 472.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.09831, allocations: 0 / 472.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.09858, allocations: 268.2 kB / 473.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.09864, allocations: 108.8 kB / 473.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.09868, allocations: 3.938 kB / 473.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.09878, allocations: 4 kB / 473.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.0988, allocations: 19.98 kB / 473.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.09882, allocations: 4 kB / 473.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.09895, allocations: 170 kB / 473.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09896, allocations: 0 / 473.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.09924, allocations: 44 kB / 473.4 MB, free: 8.918 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 7.952e-05/0.09933, allocations: 99.19 kB / 473.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.09952, allocations: 116 kB / 473.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09953, allocations: 0 / 473.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.09959, allocations: 43.92 kB / 473.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1, allocations: 56.52 kB / 473.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.1008, allocations: 0.6811 MB / 474.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1011, allocations: 0.7716 MB / 475.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1012, allocations: 34.27 kB / 475.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.1012, allocations: 19.44 kB / 475.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of SimCode: time 1.704e-06/0.1013, allocations: 0 / 475.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of Templates: time 0.004409/0.1057, allocations: 1.905 MB / 477.1 MB, free: 5.148 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches