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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1897/0.1897, allocations: 38.56 MB / 353.2 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,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=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.91 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3563, allocations: 62.46 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006517/0.3628, allocations: 4.268 MB / 0.5473 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.3649, allocations: 0.8989 MB / 0.5482 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.3651, allocations: 19.78 kB / 0.5482 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.3654, allocations: 57.11 kB / 0.5483 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007381/0.3661, allocations: 248.5 kB / 0.5485 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.3664, allocations: 99.38 kB / 0.5486 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.367, allocations: 0.4905 MB / 0.5491 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.3672, allocations: 98.59 kB / 0.5492 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.3676, allocations: 242.3 kB / 0.5494 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.3681, allocations: 275.1 kB / 0.5497 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.3682, allocations: 24.09 kB / 0.5497 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.3682, allocations: 23.5 kB / 0.5497 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.3684, allocations: 155 kB / 0.5499 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3686, allocations: 144.6 kB / 0.55 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.3692, allocations: 374.3 kB / 0.5504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3692, allocations: 0 / 0.5504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3692, allocations: 4 kB / 0.5504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.3692, allocations: 3.938 kB / 0.5504 GB, free: 11.07 MB / 398.1 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.001364/0.3705, allocations: 0.5927 MB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3706, allocations: 14.39 kB / 0.551 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.3707, allocations: 38.86 kB / 0.551 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.3714, allocations: 317.9 kB / 0.5513 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.3714, allocations: 22.94 kB / 0.5513 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.3714, allocations: 25.78 kB / 0.5514 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.372, allocations: 355.2 kB / 0.5517 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.372, allocations: 1.438 kB / 0.5517 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3721, allocations: 10.5 kB / 0.5517 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.3722, allocations: 26.38 kB / 0.5517 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.3726, allocations: 240.8 kB / 0.552 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.3745, allocations: 1.237 MB / 0.5532 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.3748, allocations: 157.2 kB / 0.5533 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.3751, allocations: 97.19 kB / 0.5534 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3751, allocations: 6.203 kB / 0.5534 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.3752, allocations: 36.88 kB / 0.5534 GB, free: 8.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.3752, allocations: 0 / 0.5534 GB, free: 8.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001367/0.3766, allocations: 0.621 MB / 0.5541 GB, free: 8.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.3767, allocations: 79.45 kB / 0.5541 GB, free: 8.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.3772, allocations: 300.7 kB / 0.5544 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3772, allocations: 30.83 kB / 0.5544 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.3774, allocations: 220.4 kB / 0.5547 GB, free: 7.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.3775, allocations: 55.88 kB / 0.5547 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/0.3776, allocations: 51.66 kB / 0.5548 GB, free: 7.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3778, allocations: 342.3 kB / 0.5551 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.378, allocations: 64.47 kB / 0.5551 GB, free: 7.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.3783, allocations: 170.1 kB / 0.5553 GB, free: 7.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.3787, allocations: 257.2 kB / 0.5556 GB, free: 6.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3787, allocations: 1.062 kB / 0.5556 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005578/0.3792, allocations: 315.6 kB / 0.5559 GB, free: 6.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3792, allocations: 6.5 kB / 0.5559 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3792, allocations: 3.938 kB / 0.5559 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.3795, allocations: 56.91 kB / 0.5559 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3796, allocations: 49.7 kB / 0.556 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.3814, allocations: 1.474 MB / 0.5574 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3815, allocations: 15.94 kB / 0.5574 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3815, allocations: 16.16 kB / 0.5574 GB, free: 5.078 MB / 398.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.3818, allocations: 173.7 kB / 0.5576 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.3818, allocations: 27.8 kB / 0.5576 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.3823, allocations: 236.3 kB / 0.5579 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3823, allocations: 7.938 kB / 0.5579 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3823, allocations: 3.938 kB / 0.5579 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3823, allocations: 0 / 0.5579 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/0.3832, allocations: 0.5535 MB / 0.5584 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3832, allocations: 0 / 0.5584 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3833, allocations: 27.95 kB / 0.5584 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.3835, allocations: 64.73 kB / 0.5585 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3835, allocations: 7.984 kB / 0.5585 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.3851, allocations: 1.463 MB / 0.5599 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3851, allocations: 8.094 kB / 0.5599 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.3857, allocations: 410.3 kB / 0.5603 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.3857, allocations: 27.84 kB / 0.5604 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3858, allocations: 7.984 kB / 0.5604 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3859, allocations: 11.94 kB / 0.5604 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.386, allocations: 15.95 kB / 0.5604 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.386, allocations: 4 kB / 0.5604 GB, free: 1.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.3862, allocations: 211.1 kB / 0.5606 GB, free: 1.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3862, allocations: 0 / 0.5606 GB, free: 1.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.3866, allocations: 68 kB / 0.5607 GB, free: 1.59 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.3868, allocations: 107.2 kB / 0.5608 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.3874, allocations: 299.3 kB / 0.5611 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3874, allocations: 3.938 kB / 0.5611 GB, free: 1.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.3878, allocations: 206.6 kB / 0.5613 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.3883, allocations: 64.39 kB / 0.5613 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3897, allocations: 0.7855 MB / 0.5621 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3899, allocations: 199.5 kB / 0.5623 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.39, allocations: 23.44 kB / 0.5623 GB, free: 15.83 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.39, allocations: 0 / 0.5623 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Templates: time 0.008257/0.3982, allocations: 5.056 MB / 0.5672 GB, free: 10.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.265774890780449]