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.001865/0.001865, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002162/0.002162, allocations: 215.9 kB / 23.73 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.683/1.683, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.188/0.188, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002364/0.002364, allocations: 67.91 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3721, allocations: 62.47 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007393/0.3795, allocations: 4.456 MB / 0.5468 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.3827, allocations: 1.5 MB / 0.5482 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.3831, allocations: 20.88 kB / 0.5483 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3842, allocations: 278.2 kB / 0.5485 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009608/0.3852, allocations: 275.1 kB / 0.5488 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.3861, allocations: 268.6 kB / 0.549 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.387, allocations: 0.6015 MB / 0.5496 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.3876, allocations: 221.5 kB / 0.5498 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.3884, allocations: 289.4 kB / 0.5501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.3892, allocations: 332.3 kB / 0.5504 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.3894, allocations: 33.34 kB / 0.5505 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.39, allocations: 157.5 kB / 0.5506 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.3904, allocations: 226.3 kB / 0.5508 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005553/0.3909, allocations: 201.6 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.3923, allocations: 0.6071 MB / 0.5516 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3923, allocations: 0 / 0.5516 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3923, allocations: 0 / 0.5516 GB, free: 9.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.787e-05/0.3923, allocations: 4 kB / 0.5516 GB, free: 9.672 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.001975/0.3943, allocations: 0.711 MB / 0.5523 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3943, allocations: 13.33 kB / 0.5523 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008839/0.3952, allocations: 122.5 kB / 0.5524 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/0.3962, allocations: 356 kB / 0.5528 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.3962, allocations: 30.19 kB / 0.5528 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.3964, allocations: 59.38 kB / 0.5529 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3977, allocations: 0.665 MB / 0.5535 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.3978, allocations: 6.172 kB / 0.5535 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.3978, allocations: 16.53 kB / 0.5535 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.398, allocations: 51.77 kB / 0.5536 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.3989, allocations: 494 kB / 0.5541 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.4028, allocations: 2.911 MB / 0.5569 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.4034, allocations: 237.3 kB / 0.5571 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.4036, allocations: 113.7 kB / 0.5572 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.4036, allocations: 7.938 kB / 0.5572 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.4036, allocations: 38.5 kB / 0.5573 GB, free: 4.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.4036, allocations: 0 / 0.5573 GB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001651/0.4053, allocations: 0.832 MB / 0.5581 GB, free: 3.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.4053, allocations: 81.11 kB / 0.5582 GB, free: 3.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.4057, allocations: 340.3 kB / 0.5585 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.4058, allocations: 33.7 kB / 0.5585 GB, free: 3.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.406, allocations: 295.9 kB / 0.5588 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.4061, allocations: 95.2 kB / 0.5589 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.4062, allocations: 90.2 kB / 0.559 GB, free: 2.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4064, allocations: 342.8 kB / 0.5593 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.4066, allocations: 136.8 kB / 0.5594 GB, free: 2.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.407, allocations: 321.1 kB / 0.5598 GB, free: 1.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.4077, allocations: 0.4925 MB / 0.5602 GB, free: 1.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4077, allocations: 4 kB / 0.5602 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001195/0.4089, allocations: 0.5965 MB / 0.5608 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4089, allocations: 8 kB / 0.5608 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006589/0.4096, allocations: 321.8 kB / 0.5611 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.41, allocations: 117.6 kB / 0.5612 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4103, allocations: 95.81 kB / 0.5613 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.4138, allocations: 3.014 MB / 0.5643 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.4141, allocations: 15.98 kB / 0.5643 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.4141, allocations: 24 kB / 0.5643 GB, free: 12.97 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.0003206/0.4144, allocations: 221.7 kB / 0.5645 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4145, allocations: 35.77 kB / 0.5646 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.4151, allocations: 320.9 kB / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.4151, allocations: 4 kB / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.4151, allocations: 0 / 0.5649 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.4151, allocations: 3.984 kB / 0.5649 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.4163, allocations: 0.6791 MB / 0.5655 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4163, allocations: 0 / 0.5655 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.4166, allocations: 63.91 kB / 0.5656 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.4166, allocations: 4 kB / 0.5656 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.4167, allocations: 8 kB / 0.5656 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4167, allocations: 0 / 0.5656 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.4167, allocations: 11.98 kB / 0.5656 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.4174, allocations: 0.5098 MB / 0.5661 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.4176, allocations: 47.8 kB / 0.5662 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.4176, allocations: 11.98 kB / 0.5662 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.4178, allocations: 8 kB / 0.5662 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.4178, allocations: 23.77 kB / 0.5662 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4179, allocations: 12 kB / 0.5662 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.4181, allocations: 227 kB / 0.5664 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 0.5664 GB, free: 10.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.4187, allocations: 100 kB / 0.5665 GB, free: 10.62 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.0001482/0.4188, allocations: 107.1 kB / 0.5666 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.4198, allocations: 0.5682 MB / 0.5672 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4198, allocations: 0 / 0.5672 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.42, allocations: 122 kB / 0.5673 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.4206, allocations: 66.02 kB / 0.5674 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.4225, allocations: 1.015 MB / 0.5684 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4229, allocations: 269.7 kB / 0.5686 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.4232, allocations: 111.2 kB / 0.5687 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.4233, allocations: 27.44 kB / 0.5688 GB, free: 8.258 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4233, allocations: 0 / 0.5688 GB, free: 8.258 MB / 414.1 MB Notification: Performance of Templates: time 0.01013/0.4334, allocations: 4.408 MB / 0.5731 GB, free: 3.91 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/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: 5.633842635899782]