Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.00203/0.00203, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00208/0.00208, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 18.57 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3208/0.3208, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.701e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006975/0.007002, allocations: 4.635 MB / 373.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.009997, allocations: 1.546 MB / 375.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.01022, allocations: 19.81 kB / 375.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009945/0.01121, allocations: 298.6 kB / 375.4 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006633/0.01188, allocations: 274.3 kB / 375.6 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.01268, allocations: 275.1 kB / 375.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.01345, allocations: 0.6194 MB / 376.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.01385, allocations: 216.5 kB / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.01444, allocations: 366.9 kB / 377.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.01496, allocations: 311.2 kB / 377.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.01503, allocations: 32 kB / 377.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.01539, allocations: 159.7 kB / 377.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.01566, allocations: 239.4 kB / 377.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.0159, allocations: 167.6 kB / 378 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.01676, allocations: 0.6191 MB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01676, allocations: 0 / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01676, allocations: 4 kB / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.01677, allocations: 0 / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001533/0.0183, allocations: 0.8363 MB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.01834, allocations: 15.98 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.0192, allocations: 176.4 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.01993, allocations: 358.7 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.01997, allocations: 33.36 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.02012, allocations: 48.73 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.02107, allocations: 0.5486 MB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.02109, allocations: 3.938 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.02115, allocations: 20 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.02131, allocations: 48.95 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.0219, allocations: 275.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.02616, allocations: 3.704 MB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.02659, allocations: 174.3 kB / 384.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.02674, allocations: 71.41 kB / 384.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.02677, allocations: 8 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.02681, allocations: 41.33 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.02681, allocations: 0 / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001378/0.02819, allocations: 0.6574 MB / 385.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.02826, allocations: 85.11 kB / 385.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.02875, allocations: 438.1 kB / 386.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.02878, allocations: 25.7 kB / 386.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.02907, allocations: 358.7 kB / 386.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.02918, allocations: 103.2 kB / 386.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.02934, allocations: 95.81 kB / 386.7 MB, free: 9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003254/0.02967, allocations: 0.543 MB / 387.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.02982, allocations: 64.95 kB / 387.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.03025, allocations: 343.9 kB / 387.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.03088, allocations: 466.3 kB / 388.1 MB, free: 7.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.03089, allocations: 4 kB / 388.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001012/0.0319, allocations: 480 kB / 388.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.03192, allocations: 8 kB / 388.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005484/0.03247, allocations: 211.5 kB / 388.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.03299, allocations: 111.9 kB / 388.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.03331, allocations: 95.77 kB / 389 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.03688, allocations: 3.703 MB / 392.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.03714, allocations: 16 kB / 392.7 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.03718, allocations: 24 kB / 392.7 MB, free: 2.434 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.03741, allocations: 196.4 kB / 392.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.03749, allocations: 47.77 kB / 393 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.03799, allocations: 240.8 kB / 393.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.03799, allocations: 4 kB / 393.2 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.03799, allocations: 0 / 393.2 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.038, allocations: 0 / 393.2 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.03919, allocations: 0.7074 MB / 393.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0392, allocations: 0 / 393.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.03952, allocations: 59.89 kB / 394 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.03953, allocations: 8.062 kB / 394 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.03956, allocations: 8 kB / 394 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.03956, allocations: 0 / 394 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.03956, allocations: 0 / 394 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.04024, allocations: 467.5 kB / 394.4 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.04038, allocations: 51.69 kB / 394.5 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.04042, allocations: 11.98 kB / 394.5 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.04058, allocations: 8 kB / 394.5 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.04064, allocations: 15.97 kB / 394.5 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.04066, allocations: 12 kB / 394.5 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.04095, allocations: 266.9 kB / 394.8 MB, free: 264 kB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04095, allocations: 0 / 394.8 MB, free: 264 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.04141, allocations: 100 kB / 394.9 MB, free: 164 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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 0.0001434/0.04155, allocations: 107.2 kB / 395 MB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.04258, allocations: 0.6056 MB / 395.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.04258, allocations: 0 / 395.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.04276, allocations: 103.6 kB / 395.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.04331, allocations: 83.55 kB / 395.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.04488, allocations: 0.8647 MB / 396.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.0452, allocations: 253.7 kB / 396.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.04546, allocations: 99.09 kB / 397 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.04556, allocations: 36.48 kB / 397 MB, free: 13.91 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04556, allocations: 4 kB / 397 MB, free: 13.91 MB / 378.7 MB Notification: Performance of Templates: time 0.009632/0.05519, allocations: 3.899 MB / 400.9 MB, free: 10.08 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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: 4.900967258028686]