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.001608/0.001608, allocations: 84.22 kB / 20.68 MB, free: 1.035 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.001656/0.001656, allocations: 168 kB / 23.96 MB, free: 4.16 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.413/1.413, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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.1758/0.1758, allocations: 29.42 MB / 290.1 MB, free: 3.301 MB / 270.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.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.482e-06/1.482e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.473e-05, allocations: 6.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006515/0.00655, allocations: 4.436 MB / 435.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.009137, allocations: 1.507 MB / 436.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.009315, allocations: 19.81 kB / 436.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.01021, allocations: 294.5 kB / 437 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.01075, allocations: 286.3 kB / 437.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.01142, allocations: 263.2 kB / 437.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000692/0.01211, allocations: 0.6233 MB / 438.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.01248, allocations: 216.4 kB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.01302, allocations: 366.9 kB / 438.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004969/0.01351, allocations: 311.2 kB / 439 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.01358, allocations: 36 kB / 439 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.01392, allocations: 155.7 kB / 439.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.01418, allocations: 227.4 kB / 439.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.01442, allocations: 171.6 kB / 439.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.01534, allocations: 0.6153 MB / 440.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.01535, allocations: 3.984 kB / 440.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01535, allocations: 0 / 440.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.01536, allocations: 0 / 440.2 MB, free: 8.418 MB / 366.1 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.001643/0.017, allocations: 0.7089 MB / 440.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.01705, allocations: 11.98 kB / 440.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/0.01792, allocations: 124.5 kB / 441 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.01869, allocations: 351.9 kB / 441.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.01873, allocations: 33.36 kB / 441.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.0189, allocations: 44.75 kB / 441.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.02002, allocations: 0.6717 MB / 442.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.02005, allocations: 0 / 442.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.0201, allocations: 19.98 kB / 442.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.02026, allocations: 48.97 kB / 442.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.02112, allocations: 0.4916 MB / 442.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.02485, allocations: 2.902 MB / 445.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.02541, allocations: 233.3 kB / 445.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.02562, allocations: 113.7 kB / 445.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.02566, allocations: 7.922 kB / 445.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.0257, allocations: 38.56 kB / 446 MB, free: 2.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.0257, allocations: 0 / 446 MB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001597/0.0273, allocations: 0.8419 MB / 446.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.02736, allocations: 77.11 kB / 446.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.02771, allocations: 340.3 kB / 447.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.02774, allocations: 33.7 kB / 447.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.02796, allocations: 291.9 kB / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.02803, allocations: 91.22 kB / 447.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.02816, allocations: 90.14 kB / 447.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.02834, allocations: 342.8 kB / 448.1 MB, free: 168 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.02855, allocations: 132.9 kB / 448.2 MB, free: 36 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1849/0.2134, allocations: 323.3 kB / 448.5 MB, free: 29.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.214, allocations: 0.4916 MB / 449 MB, free: 29.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.214, allocations: 2.406 kB / 449 MB, free: 29.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001147/0.2151, allocations: 0.5952 MB / 449.6 MB, free: 29.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.2152, allocations: 8.234 kB / 449.6 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006078/0.2158, allocations: 327.2 kB / 449.9 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004881/0.2163, allocations: 114.8 kB / 450 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.2166, allocations: 90.17 kB / 450.1 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.2192, allocations: 3.014 MB / 453.1 MB, free: 26.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.2196, allocations: 23.86 kB / 453.2 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.2196, allocations: 22.23 kB / 453.2 MB, free: 26.63 MB / 366.1 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.0003426/0.2199, allocations: 215.7 kB / 453.4 MB, free: 26.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.22, allocations: 38.27 kB / 453.4 MB, free: 26.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.2207, allocations: 312.8 kB / 453.7 MB, free: 26.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2207, allocations: 3.156 kB / 453.7 MB, free: 26.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2207, allocations: 0.7031 kB / 453.7 MB, free: 26.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2207, allocations: 2.656 kB / 453.7 MB, free: 26.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.2219, allocations: 0.6919 MB / 454.4 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2219, allocations: 1.844 kB / 454.4 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.2222, allocations: 59.23 kB / 454.5 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2222, allocations: 5.75 kB / 454.5 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.2222, allocations: 10.06 kB / 454.5 MB, free: 25.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2222, allocations: 5.719 kB / 454.5 MB, free: 25.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2222, allocations: 2.625 kB / 454.5 MB, free: 25.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.2228, allocations: 0.5014 MB / 455 MB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2229, allocations: 47.16 kB / 455.1 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.223, allocations: 8.344 kB / 455.1 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2231, allocations: 13.61 kB / 455.1 MB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.2232, allocations: 19.2 kB / 455.1 MB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2232, allocations: 6.828 kB / 455.1 MB, free: 25.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.2234, allocations: 228.3 kB / 455.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2234, allocations: 0 / 455.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005024/0.2239, allocations: 97.78 kB / 455.4 MB, free: 25.52 MB / 366.1 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.0001296/0.2241, allocations: 108.2 kB / 455.5 MB, free: 25.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000961/0.225, allocations: 0.5706 MB / 456.1 MB, free: 25.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.225, allocations: 0 / 456.1 MB, free: 25.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.2253, allocations: 117.5 kB / 456.2 MB, free: 25.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.2259, allocations: 62.97 kB / 456.3 MB, free: 25.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2275, allocations: 0.9245 MB / 457.2 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.2279, allocations: 268.5 kB / 457.5 MB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003192/0.2283, allocations: 107 kB / 457.6 MB, free: 24.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.2283, allocations: 38.16 kB / 457.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2283, allocations: 1.25 kB / 457.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01024/0.2386, allocations: 3.872 MB / 461.5 MB, free: 23.98 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] 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.699212517589331]