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.001211/0.001211, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001359/0.001359, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.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.1748/0.1748, allocations: 38.53 MB / 353.2 MB, free: 12.57 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.89 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 62.47 MB / 0.5432 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006053/0.2996, allocations: 4.722 MB / 0.5478 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.3024, allocations: 1.626 MB / 0.5494 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.3026, allocations: 20.03 kB / 0.5494 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009108/0.3035, allocations: 299 kB / 0.5497 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.3042, allocations: 269.5 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.3049, allocations: 265 kB / 0.5502 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007498/0.3057, allocations: 0.6092 MB / 0.5508 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.306, allocations: 219.7 kB / 0.551 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.3065, allocations: 286.8 kB / 0.5513 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.307, allocations: 351.4 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.3071, allocations: 34.62 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.3074, allocations: 158 kB / 0.5518 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3076, allocations: 229 kB / 0.5521 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.3079, allocations: 245.5 kB / 0.5523 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.3086, allocations: 0.605 MB / 0.5529 GB, free: 9.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3086, allocations: 5.406 kB / 0.5529 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3086, allocations: 0 / 0.5529 GB, free: 9.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3086, allocations: 0 / 0.5529 GB, free: 9.355 MB / 398.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.001369/0.31, allocations: 0.7124 MB / 0.5536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.31, allocations: 13.7 kB / 0.5536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/0.3108, allocations: 126.4 kB / 0.5537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.3114, allocations: 359.4 kB / 0.5541 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3115, allocations: 29.25 kB / 0.5541 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3116, allocations: 48.31 kB / 0.5541 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.3126, allocations: 0.6652 MB / 0.5548 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.3126, allocations: 10.36 kB / 0.5548 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.3126, allocations: 20.72 kB / 0.5548 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.3128, allocations: 47.5 kB / 0.5549 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.3136, allocations: 492.4 kB / 0.5553 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.317, allocations: 3.075 MB / 0.5583 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.3175, allocations: 229.3 kB / 0.5585 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.3177, allocations: 121.6 kB / 0.5587 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3177, allocations: 11.92 kB / 0.5587 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3177, allocations: 38.5 kB / 0.5587 GB, free: 4.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.774e-06/0.3177, allocations: 0 / 0.5587 GB, free: 4.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001452/0.3192, allocations: 0.8266 MB / 0.5595 GB, free: 3.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3192, allocations: 77.11 kB / 0.5596 GB, free: 3.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.3196, allocations: 340.4 kB / 0.5599 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3196, allocations: 25.7 kB / 0.5599 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3198, allocations: 295.9 kB / 0.5602 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.3199, allocations: 99.16 kB / 0.5603 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.32, allocations: 86.08 kB / 0.5604 GB, free: 2.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3202, allocations: 354.8 kB / 0.5607 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.3204, allocations: 128.8 kB / 0.5609 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.3207, allocations: 321.2 kB / 0.5612 GB, free: 1.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.3213, allocations: 0.4964 MB / 0.5617 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3213, allocations: 4 kB / 0.5617 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001091/0.3224, allocations: 0.5848 MB / 0.5622 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3224, allocations: 8 kB / 0.5622 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000626/0.3231, allocations: 333.8 kB / 0.5626 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/0.3235, allocations: 109.6 kB / 0.5627 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.3238, allocations: 87.83 kB / 0.5627 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.3267, allocations: 3.082 MB / 0.5658 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.327, allocations: 19.98 kB / 0.5658 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.3271, allocations: 20 kB / 0.5658 GB, free: 12.49 MB / 414.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.0002807/0.3274, allocations: 213.7 kB / 0.566 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.3274, allocations: 31.81 kB / 0.566 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.328, allocations: 316.8 kB / 0.5663 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.328, allocations: 4 kB / 0.5663 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.328, allocations: 7.922 kB / 0.5663 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.328, allocations: 4 kB / 0.5663 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3291, allocations: 0.7666 MB / 0.5671 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3291, allocations: 0 / 0.5671 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.3295, allocations: 59.91 kB / 0.5671 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3295, allocations: 4.078 kB / 0.5671 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3295, allocations: 15.92 kB / 0.5672 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3295, allocations: 4 kB / 0.5672 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3295, allocations: 4.062 kB / 0.5672 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.3301, allocations: 0.5108 MB / 0.5677 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3303, allocations: 55.72 kB / 0.5677 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.3303, allocations: 8 kB / 0.5677 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3305, allocations: 8 kB / 0.5677 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3305, allocations: 27.81 kB / 0.5678 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3305, allocations: 15.94 kB / 0.5678 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.3308, allocations: 219.1 kB / 0.568 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3308, allocations: 0 / 0.568 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.3313, allocations: 96 kB / 0.5681 GB, free: 10.04 MB / 414.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.000126/0.3314, allocations: 111.1 kB / 0.5682 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009156/0.3323, allocations: 0.5612 MB / 0.5687 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3323, allocations: 4 kB / 0.5687 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.3325, allocations: 120.2 kB / 0.5689 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.333, allocations: 72.36 kB / 0.5689 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3346, allocations: 1.053 MB / 0.57 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3351, allocations: 0.8699 MB / 0.5708 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.3352, allocations: 31.44 kB / 0.5708 GB, free: 7.121 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3352, allocations: 0 / 0.5708 GB, free: 7.121 MB / 414.1 MB Notification: Performance of Templates: time 0.009463/0.3447, allocations: 6.628 MB / 0.5773 GB, free: 0.4961 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/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: 7.81757628521882]