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.001379/0.001379, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001537/0.001537, allocations: 209 kB / 24.48 MB, free: 3.938 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1847/0.1847, allocations: 38.55 MB / 353.2 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.002116/0.002116, allocations: 63.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3012, allocations: 62.47 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006186/0.3074, allocations: 4.443 MB / 0.5475 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.3102, allocations: 1.5 MB / 0.549 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.3104, allocations: 20.88 kB / 0.549 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.3113, allocations: 282.9 kB / 0.5493 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006138/0.312, allocations: 274.5 kB / 0.5495 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007322/0.3127, allocations: 265 kB / 0.5498 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.3134, allocations: 0.6051 MB / 0.5504 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.3138, allocations: 221.4 kB / 0.5506 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.3142, allocations: 286.5 kB / 0.5508 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.3147, allocations: 330.9 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.3147, allocations: 34.72 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.3151, allocations: 165.7 kB / 0.5514 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.3153, allocations: 220.4 kB / 0.5516 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.3155, allocations: 206.8 kB / 0.5518 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.3164, allocations: 0.6058 MB / 0.5524 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3164, allocations: 0 / 0.5524 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3164, allocations: 1.062 kB / 0.5524 GB, free: 9.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3164, allocations: 0 / 0.5524 GB, free: 9.652 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.001423/0.3178, allocations: 0.7148 MB / 0.5531 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3178, allocations: 12.3 kB / 0.5531 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.3186, allocations: 123.3 kB / 0.5532 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.3194, allocations: 356.2 kB / 0.5535 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3194, allocations: 29.09 kB / 0.5536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3195, allocations: 56.59 kB / 0.5536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.3205, allocations: 0.661 MB / 0.5543 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.3205, allocations: 5.172 kB / 0.5543 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.3206, allocations: 17.31 kB / 0.5543 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.3207, allocations: 47.25 kB / 0.5543 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.3215, allocations: 0.4941 MB / 0.5548 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.325, allocations: 2.91 MB / 0.5576 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.3254, allocations: 237.3 kB / 0.5579 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3256, allocations: 115.4 kB / 0.558 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.3256, allocations: 4 kB / 0.558 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3257, allocations: 34.5 kB / 0.558 GB, free: 4.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/0.3257, allocations: 0 / 0.558 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001537/0.3272, allocations: 0.8399 MB / 0.5588 GB, free: 3.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.3273, allocations: 85.11 kB / 0.5589 GB, free: 3.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.3276, allocations: 336.3 kB / 0.5592 GB, free: 3.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3277, allocations: 33.7 kB / 0.5593 GB, free: 3.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3279, allocations: 295.9 kB / 0.5596 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.328, allocations: 95.2 kB / 0.5596 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3281, allocations: 86.08 kB / 0.5597 GB, free: 2.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3283, allocations: 342.8 kB / 0.5601 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3285, allocations: 136.8 kB / 0.5602 GB, free: 2.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.3288, allocations: 321.1 kB / 0.5605 GB, free: 1.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.3295, allocations: 0.5003 MB / 0.561 GB, free: 1.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3295, allocations: 0 / 0.561 GB, free: 1.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001114/0.3306, allocations: 0.5921 MB / 0.5616 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3306, allocations: 8 kB / 0.5616 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006442/0.3313, allocations: 325.8 kB / 0.5619 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.3317, allocations: 122.2 kB / 0.562 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.332, allocations: 87.83 kB / 0.5621 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.335, allocations: 3.014 MB / 0.565 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3353, allocations: 19.98 kB / 0.565 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.3354, allocations: 24 kB / 0.5651 GB, free: 12.95 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.0002887/0.3356, allocations: 213.5 kB / 0.5653 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.3357, allocations: 39.75 kB / 0.5653 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.3363, allocations: 317 kB / 0.5656 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3363, allocations: 4 kB / 0.5656 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.3363, allocations: 4.062 kB / 0.5656 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3363, allocations: 3.984 kB / 0.5656 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3374, allocations: 0.683 MB / 0.5663 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3374, allocations: 3.938 kB / 0.5663 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.3377, allocations: 59.91 kB / 0.5663 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3377, allocations: 0 / 0.5663 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3378, allocations: 12 kB / 0.5664 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3378, allocations: 4 kB / 0.5664 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3378, allocations: 0 / 0.5664 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.3384, allocations: 0.5187 MB / 0.5669 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3386, allocations: 51.69 kB / 0.5669 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.3386, allocations: 8 kB / 0.5669 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3388, allocations: 11.98 kB / 0.5669 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.3388, allocations: 23.77 kB / 0.567 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3388, allocations: 8 kB / 0.567 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.3391, allocations: 223 kB / 0.5672 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3391, allocations: 0 / 0.5672 GB, free: 10.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.3396, allocations: 100 kB / 0.5673 GB, free: 10.59 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.0001439/0.3397, allocations: 107.1 kB / 0.5674 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009436/0.3407, allocations: 0.5649 MB / 0.5679 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3407, allocations: 0 / 0.5679 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.3409, allocations: 130.1 kB / 0.568 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.3414, allocations: 60.09 kB / 0.5681 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3431, allocations: 1.061 MB / 0.5691 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3434, allocations: 269.7 kB / 0.5694 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.3435, allocations: 31.42 kB / 0.5694 GB, free: 8.293 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3435, allocations: 0 / 0.5694 GB, free: 8.293 MB / 414.1 MB Notification: Performance of Templates: time 0.01029/0.3538, allocations: 6.812 MB / 0.5761 GB, free: 1.48 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: 8.3218670389615]