Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001471/0.001471, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001609/0.001609, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.323/1.323, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 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.1708/0.1708, allocations: 38.52 MB / 353.2 MB, free: 12.56 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [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.001973/0.001973, allocations: 71.89 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00577/0.2888, allocations: 4.58 MB / 0.5477 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.2912, allocations: 1.498 MB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2913, allocations: 20.41 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.2924, allocations: 390.8 kB / 0.5495 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.2929, allocations: 255.7 kB / 0.5498 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.2936, allocations: 244.6 kB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.2942, allocations: 0.5667 MB / 0.5506 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/0.2946, allocations: 223.7 kB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.295, allocations: 273.9 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.2955, allocations: 377.9 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.107e-05/0.2956, allocations: 39.38 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.296, allocations: 250.6 kB / 0.5517 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.2963, allocations: 247.2 kB / 0.5519 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.2965, allocations: 256 kB / 0.5522 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.2973, allocations: 0.6728 MB / 0.5528 GB, free: 9.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2973, allocations: 5.094 kB / 0.5528 GB, free: 9.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2973, allocations: 0 / 0.5528 GB, free: 9.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.2973, allocations: 0 / 0.5528 GB, free: 9.449 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001359/0.2986, allocations: 0.7207 MB / 0.5535 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2987, allocations: 12.95 kB / 0.5535 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006882/0.2994, allocations: 123.5 kB / 0.5537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/0.3001, allocations: 360.9 kB / 0.554 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.3001, allocations: 29.94 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.3003, allocations: 51.84 kB / 0.5541 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009913/0.3013, allocations: 0.6723 MB / 0.5547 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3013, allocations: 1.312 kB / 0.5547 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.3013, allocations: 15.69 kB / 0.5548 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.3015, allocations: 54.33 kB / 0.5548 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.3025, allocations: 0.6695 MB / 0.5555 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.306, allocations: 2.452 MB / 0.5579 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.3066, allocations: 325 kB / 0.5582 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.3069, allocations: 201.7 kB / 0.5584 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.3069, allocations: 4 kB / 0.5584 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3069, allocations: 38.5 kB / 0.5584 GB, free: 4.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.3069, allocations: 0 / 0.5584 GB, free: 4.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002022/0.3089, allocations: 1.29 MB / 0.5597 GB, free: 3.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.309, allocations: 81.11 kB / 0.5597 GB, free: 3.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3093, allocations: 304.5 kB / 0.56 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3093, allocations: 37.64 kB / 0.5601 GB, free: 2.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3095, allocations: 264.2 kB / 0.5603 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3096, allocations: 158.7 kB / 0.5605 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.3098, allocations: 98.27 kB / 0.5606 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3099, allocations: 346.8 kB / 0.5609 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3102, allocations: 201 kB / 0.5611 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3106, allocations: 365.5 kB / 0.5614 GB, free: 1.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.3114, allocations: 0.6021 MB / 0.562 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3114, allocations: 4 kB / 0.562 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009019/0.3123, allocations: 0.6267 MB / 0.5626 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3123, allocations: 4 kB / 0.5626 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3123, allocations: 11.94 kB / 0.5626 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3124, allocations: 8 kB / 0.5627 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.3128, allocations: 111.9 kB / 0.5628 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.3128, allocations: 12.44 kB / 0.5628 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.313, allocations: 27.98 kB / 0.5628 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.3131, allocations: 23.98 kB / 0.5628 GB, free: 15.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.3133, allocations: 213.6 kB / 0.563 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.3134, allocations: 43.69 kB / 0.5631 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.3142, allocations: 0.4925 MB / 0.5635 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.3142, allocations: 12 kB / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3142, allocations: 3.938 kB / 0.5636 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3142, allocations: 3.984 kB / 0.5636 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3159, allocations: 1.065 MB / 0.5646 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3159, allocations: 3.984 kB / 0.5646 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.3163, allocations: 75.89 kB / 0.5647 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3163, allocations: 0 / 0.5647 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3163, allocations: 12 kB / 0.5647 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3163, allocations: 8.094 kB / 0.5647 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3163, allocations: 3.938 kB / 0.5647 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3174, allocations: 0.8323 MB / 0.5655 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3174, allocations: 31.77 kB / 0.5655 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.3175, allocations: 8 kB / 0.5656 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3177, allocations: 24.05 kB / 0.5656 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.3177, allocations: 27.89 kB / 0.5656 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3178, allocations: 11.98 kB / 0.5656 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.318, allocations: 215.1 kB / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.318, allocations: 0 / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000503/0.3185, allocations: 104 kB / 0.5659 GB, free: 12.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0002161/0.3187, allocations: 135.1 kB / 0.5661 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007335/0.3194, allocations: 469.4 kB / 0.5665 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3194, allocations: 0 / 0.5665 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.3197, allocations: 208.8 kB / 0.5667 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.3202, allocations: 65.05 kB / 0.5668 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.322, allocations: 1.184 MB / 0.5679 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.3225, allocations: 0.8704 MB / 0.5688 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3226, allocations: 39.44 kB / 0.5688 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3226, allocations: 0 / 0.5688 GB, free: 9.562 MB / 414.1 MB Notification: Performance of Templates: time 0.008714/0.3313, allocations: 5.696 MB / 0.5744 GB, free: 3.871 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.142964900005609]