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.0009815/0.0009815, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001063/0.001063, allocations: 169 kB / 24.91 MB, free: 8.723 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1287/0.1287, allocations: 29.43 MB / 291.2 MB, free: 2.695 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.453e-06/1.453e-06, allocations: 0 / 316.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.358e-05, allocations: 2.312 kB / 316.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004195/0.004208, allocations: 4.34 MB / 321.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.006668, allocations: 1.574 MB / 322.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.006906, allocations: 19.81 kB / 322.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006376/0.007544, allocations: 250.7 kB / 323.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.007998, allocations: 262.4 kB / 323.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.008677, allocations: 275.1 kB / 323.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.009316, allocations: 0.6194 MB / 324.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.009648, allocations: 235.1 kB / 324.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.01017, allocations: 402.9 kB / 324.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.01049, allocations: 279.2 kB / 325.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.01054, allocations: 32 kB / 325.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.01079, allocations: 151.7 kB / 325.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.01099, allocations: 231.4 kB / 325.5 MB, free: 344 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.01112, allocations: 167.6 kB / 325.7 MB, free: 176 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.01162, allocations: 470.3 kB / 326.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01162, allocations: 0 / 326.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01162, allocations: 0 / 326.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.01163, allocations: 0 / 326.1 MB, free: 15.71 MB / 314.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.0007403/0.01237, allocations: 0.6496 MB / 326.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.0124, allocations: 8.031 kB / 326.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.01286, allocations: 136.7 kB / 326.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.01321, allocations: 324.2 kB / 327.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.01323, allocations: 33.36 kB / 327.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.01331, allocations: 52.62 kB / 327.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.01369, allocations: 446.8 kB / 327.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.01371, allocations: 3.984 kB / 327.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.01373, allocations: 19.98 kB / 327.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/0.01382, allocations: 52.97 kB / 327.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.01405, allocations: 174.7 kB / 328 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.01576, allocations: 2.592 MB / 330.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.01596, allocations: 119.9 kB / 330.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.01601, allocations: 49.75 kB / 330.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01603, allocations: 15.92 kB / 330.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.01606, allocations: 38.56 kB / 330.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.944e-06/0.01606, allocations: 0 / 330.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006284/0.01669, allocations: 412.5 kB / 331.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.01672, allocations: 92.97 kB / 331.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.01689, allocations: 302.7 kB / 331.6 MB, free: 9.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.01691, allocations: 29.7 kB / 331.6 MB, free: 9.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01701, allocations: 276.3 kB / 331.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.01706, allocations: 95.39 kB / 332 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.01714, allocations: 90.05 kB / 332.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.01722, allocations: 342.7 kB / 332.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.01727, allocations: 36.98 kB / 332.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01741, allocations: 237.8 kB / 332.7 MB, free: 8.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.01765, allocations: 333.3 kB / 333 MB, free: 8.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01765, allocations: 0 / 333 MB, free: 8.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004446/0.0181, allocations: 357.9 kB / 333.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01811, allocations: 8 kB / 333.4 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.01831, allocations: 144.2 kB / 333.5 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.01857, allocations: 114.2 kB / 333.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.01873, allocations: 87.83 kB / 333.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.02013, allocations: 2.529 MB / 336.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.02025, allocations: 27.94 kB / 336.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.02027, allocations: 16 kB / 336.3 MB, free: 4.766 MB / 314.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.0001057/0.02038, allocations: 140.5 kB / 336.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.02041, allocations: 31.91 kB / 336.5 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.02061, allocations: 173.7 kB / 336.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.02061, allocations: 0 / 336.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02061, allocations: 4 kB / 336.6 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.02062, allocations: 7.984 kB / 336.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.02103, allocations: 420.2 kB / 337.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02104, allocations: 0 / 337.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.02124, allocations: 75.88 kB / 337.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.02124, allocations: 0 / 337.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.02125, allocations: 8 kB / 337.1 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02126, allocations: 7.875 kB / 337.1 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.02126, allocations: 8.062 kB / 337.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.02149, allocations: 301.8 kB / 337.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.02155, allocations: 43.75 kB / 337.5 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.02157, allocations: 11.98 kB / 337.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.02168, allocations: 7.938 kB / 337.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.02171, allocations: 19.97 kB / 337.5 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.02172, allocations: 4 kB / 337.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.02179, allocations: 108.6 kB / 337.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02179, allocations: 4 kB / 337.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.02207, allocations: 96 kB / 337.7 MB, free: 3.25 MB / 314.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.26e-05/0.02215, allocations: 88.36 kB / 337.8 MB, free: 3.152 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003944/0.02255, allocations: 440.4 kB / 338.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.02255, allocations: 8.062 kB / 338.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.02263, allocations: 64.94 kB / 338.3 MB, free: 2.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.02288, allocations: 67.97 kB / 338.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02404, allocations: 0.8489 MB / 339.2 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.02413, allocations: 145.2 kB / 339.4 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.02425, allocations: 55.25 kB / 339.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.02438, allocations: 107.4 kB / 339.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02439, allocations: 4 kB / 339.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of Templates: time 0.00648/0.03087, allocations: 4.24 MB / 343.8 MB, free: 13.17 MB / 330.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 -s gbode -gbm=radauIIA3 -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.0782506307587028]