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.001177/0.001177, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001515/0.001515, allocations: 161 kB / 24.56 MB, free: 16 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.113/1.113, allocations: 177.1 MB / 205 MB, free: 5.637 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.2561/0.2561, allocations: 29.41 MB / 290.9 MB, free: 2.508 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.913e-06/1.913e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.343e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006701/0.006734, allocations: 4.392 MB / 374 MB, free: 6.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.009721, allocations: 1.555 MB / 375.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.01019, allocations: 19.81 kB / 375.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008267/0.01102, allocations: 155 kB / 375.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.01155, allocations: 270.4 kB / 376 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.01219, allocations: 279.1 kB / 376.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.01263, allocations: 0.6194 MB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.01294, allocations: 208.5 kB / 377.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.01331, allocations: 367 kB / 377.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.01363, allocations: 319.2 kB / 377.8 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.01368, allocations: 32 kB / 377.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.01389, allocations: 159.6 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.01406, allocations: 235.4 kB / 378.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.0142, allocations: 171.6 kB / 378.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.01464, allocations: 470.4 kB / 378.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.01465, allocations: 3.938 kB / 378.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01465, allocations: 0 / 378.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01465, allocations: 0 / 378.8 MB, free: 1.754 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.0008786/0.01553, allocations: 0.8133 MB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.01557, allocations: 11.98 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.01607, allocations: 172.5 kB / 379.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.01649, allocations: 362.7 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.01651, allocations: 33.36 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.01661, allocations: 48.67 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.01714, allocations: 0.5173 MB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01715, allocations: 4 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.01718, allocations: 23.98 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.019e-05/0.01727, allocations: 44.97 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.0176, allocations: 237.6 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.01967, allocations: 3.575 MB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.01995, allocations: 174.3 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.02004, allocations: 63.41 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.02007, allocations: 8 kB / 384.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.0201, allocations: 41.39 kB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.485e-06/0.02011, allocations: 0 / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009418/0.02105, allocations: 0.6121 MB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.02109, allocations: 81.11 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.02133, allocations: 382 kB / 386 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.02135, allocations: 33.7 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.0215, allocations: 346.7 kB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.02156, allocations: 95.2 kB / 386.5 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.02165, allocations: 99.92 kB / 386.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.02179, allocations: 0.5196 MB / 387.1 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.02187, allocations: 52.95 kB / 387.1 MB, free: 8.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.02208, allocations: 327.8 kB / 387.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.02241, allocations: 446.2 kB / 387.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.02241, allocations: 0 / 387.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005787/0.02299, allocations: 455.2 kB / 388.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.02301, allocations: 8 kB / 388.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/0.0233, allocations: 203.5 kB / 388.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.02359, allocations: 95.28 kB / 388.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.02376, allocations: 91.89 kB / 388.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.02554, allocations: 3.66 MB / 392.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.02566, allocations: 12 kB / 392.4 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.02568, allocations: 32.05 kB / 392.4 MB, free: 3.164 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.0001108/0.02579, allocations: 184.4 kB / 392.6 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.02584, allocations: 43.75 kB / 392.7 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.02611, allocations: 216.9 kB / 392.9 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02611, allocations: 4 kB / 392.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-07/0.02611, allocations: 0 / 392.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02612, allocations: 3.984 kB / 392.9 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.02672, allocations: 0.6332 MB / 393.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02672, allocations: 0 / 393.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.02688, allocations: 63.89 kB / 393.6 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.02688, allocations: 7.938 kB / 393.6 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.0269, allocations: 4 kB / 393.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.0269, allocations: 0 / 393.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0269, allocations: 0 / 393.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.02724, allocations: 440.2 kB / 394 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.0273, allocations: 55.75 kB / 394.1 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.02732, allocations: 7.984 kB / 394.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.0274, allocations: 12 kB / 394.1 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.02743, allocations: 19.97 kB / 394.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.02744, allocations: 7.984 kB / 394.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.02757, allocations: 238.9 kB / 394.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02757, allocations: 0 / 394.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.02785, allocations: 100 kB / 394.4 MB, free: 1.051 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 9.208e-05/0.02794, allocations: 99.19 kB / 394.5 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.02845, allocations: 0.5757 MB / 395.1 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02845, allocations: 0 / 395.1 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.02854, allocations: 95.86 kB / 395.2 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.02886, allocations: 73.2 kB / 395.3 MB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.0302, allocations: 0.882 MB / 396.2 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.03029, allocations: 149.2 kB / 396.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.03045, allocations: 91.16 kB / 396.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.03052, allocations: 32.5 kB / 396.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03052, allocations: 0 / 396.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of Templates: time 0.005789/0.03631, allocations: 3.903 MB / 400.3 MB, free: 11.12 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.465589507948607]