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.0009772/0.0009772, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009686/0.0009686, allocations: 167.4 kB / 24.99 MB, free: 8.25 MB / 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 0.9736/0.9736, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2753/0.2753, allocations: 29.41 MB / 291.2 MB, free: 2.496 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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.448e-05, allocations: 5.922 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005682/0.005707, allocations: 4.681 MB / 374.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.007788, allocations: 1.554 MB / 375.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.007991, allocations: 23.81 kB / 375.9 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.00864, allocations: 286.5 kB / 376.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.009097, allocations: 282.3 kB / 376.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.00968, allocations: 271.1 kB / 376.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.0102, allocations: 0.6233 MB / 377.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.01051, allocations: 208.5 kB / 377.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.01103, allocations: 374.9 kB / 377.9 MB, free: 3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.01154, allocations: 315.2 kB / 378.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.01161, allocations: 32 kB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.01196, allocations: 155.7 kB / 378.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.0122, allocations: 239.4 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.01241, allocations: 167.6 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.01303, allocations: 478.3 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01304, allocations: 0 / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01304, allocations: 0 / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.01305, allocations: 0 / 379.3 MB, free: 1.641 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.001162/0.01421, allocations: 0.8016 MB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.01425, allocations: 15.97 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.0148, allocations: 180.4 kB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.01523, allocations: 358.7 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.01525, allocations: 29.38 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.01535, allocations: 52.66 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.0159, allocations: 0.5134 MB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.01592, allocations: 8 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.01596, allocations: 19.94 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-05/0.01605, allocations: 48.97 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.01639, allocations: 229.6 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.01854, allocations: 3.59 MB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.01881, allocations: 170.3 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.01889, allocations: 63.41 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.01891, allocations: 8 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.01896, allocations: 41.39 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.01896, allocations: 0 / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009222/0.01988, allocations: 0.6188 MB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.01993, allocations: 77.11 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.02019, allocations: 382 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.02021, allocations: 33.7 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.02044, allocations: 346.7 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.0205, allocations: 91.36 kB / 386.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.02059, allocations: 95.8 kB / 387 MB, free: 9.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.02072, allocations: 0.5235 MB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.0208, allocations: 52.95 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.02099, allocations: 331.8 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.02149, allocations: 438.2 kB / 388.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.02149, allocations: 0 / 388.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005721/0.02206, allocations: 456.5 kB / 388.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02208, allocations: 8 kB / 388.8 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002613/0.02234, allocations: 195.5 kB / 389 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.02262, allocations: 107.2 kB / 389.1 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.02277, allocations: 88.02 kB / 389.1 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.02467, allocations: 3.664 MB / 392.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.0248, allocations: 16.06 kB / 392.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.02482, allocations: 24 kB / 392.9 MB, free: 3.055 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.0001135/0.02493, allocations: 188.4 kB / 393 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.02498, allocations: 43.75 kB / 393.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.02524, allocations: 216.9 kB / 393.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.02524, allocations: 4 kB / 393.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.02524, allocations: 144 / 393.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.02525, allocations: 11.98 kB / 393.3 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.02585, allocations: 0.6369 MB / 393.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.02585, allocations: 0 / 393.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.02601, allocations: 59.95 kB / 394 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.02601, allocations: 4 kB / 394 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.02603, allocations: 4 kB / 394 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.02603, allocations: 0 / 394 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.02603, allocations: 7.938 kB / 394 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.02637, allocations: 431.6 kB / 394.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.02643, allocations: 43.75 kB / 394.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.02646, allocations: 11.98 kB / 394.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.02654, allocations: 12 kB / 394.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.02657, allocations: 19.97 kB / 394.5 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.02658, allocations: 7.938 kB / 394.5 MB, free: 1.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.02671, allocations: 238.9 kB / 394.8 MB, free: 1.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02671, allocations: 0 / 394.8 MB, free: 1.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.027, allocations: 100 kB / 394.9 MB, free: 0.9414 MB / 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 8.823e-05/0.02709, allocations: 103.2 kB / 395 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.02762, allocations: 0.5716 MB / 395.5 MB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02762, allocations: 4.438 kB / 395.5 MB, free: 220 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.02771, allocations: 102.2 kB / 395.6 MB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.02803, allocations: 65.39 kB / 395.7 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.0293, allocations: 0.8804 MB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.709e-05/0.0294, allocations: 145.2 kB / 396.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.02956, allocations: 91.16 kB / 396.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.02961, allocations: 32.5 kB / 396.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02962, allocations: 4 kB / 396.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of Templates: time 0.005747/0.03536, allocations: 3.897 MB / 400.7 MB, free: 11.01 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1602370240725577]