Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1829/0.1829, allocations: 38.52 MB / 344.5 MB, free: 2.566 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 61.26 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006087/0.3788, allocations: 5.526 MB / 0.536 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.3849, allocations: 4.188 MB / 0.5401 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.3854, allocations: 18.66 kB / 0.5401 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.3954, allocations: 5.044 MB / 0.545 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.3967, allocations: 343.9 kB / 0.5453 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.3975, allocations: 247 kB / 0.5456 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3996, allocations: 1.609 MB / 0.5471 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.4001, allocations: 271.4 kB / 0.5474 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.4006, allocations: 377.7 kB / 0.5478 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.4012, allocations: 489.1 kB / 0.5482 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.4013, allocations: 45.56 kB / 0.5483 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.4016, allocations: 132.5 kB / 0.5484 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.4019, allocations: 278.1 kB / 0.5487 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.4022, allocations: 321.5 kB / 0.549 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.4032, allocations: 0.752 MB / 0.5497 GB, free: 8.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4032, allocations: 0 / 0.5497 GB, free: 8.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4032, allocations: 0 / 0.5497 GB, free: 8.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4032, allocations: 1.062 kB / 0.5497 GB, free: 8.738 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001718/0.4049, allocations: 0.9241 MB / 0.5506 GB, free: 7.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4049, allocations: 13.83 kB / 0.5506 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.4054, allocations: 105.1 kB / 0.5507 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.4065, allocations: 0.5532 MB / 0.5513 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.4065, allocations: 32.98 kB / 0.5513 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4066, allocations: 55.89 kB / 0.5513 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4081, allocations: 0.653 MB / 0.552 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.4081, allocations: 7.938 kB / 0.552 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.4081, allocations: 16 kB / 0.552 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.4083, allocations: 48.97 kB / 0.5521 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.4092, allocations: 495.6 kB / 0.5525 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.4131, allocations: 2.528 MB / 0.555 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.4136, allocations: 299.6 kB / 0.5553 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4139, allocations: 170.5 kB / 0.5554 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.4139, allocations: 8.438 kB / 0.5554 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4139, allocations: 42.5 kB / 0.5555 GB, free: 2.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.4139, allocations: 0 / 0.5555 GB, free: 2.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002671/0.4166, allocations: 1.645 MB / 0.5571 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.4167, allocations: 106.8 kB / 0.5572 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.4171, allocations: 429.8 kB / 0.5576 GB, free: 440 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4172, allocations: 29.7 kB / 0.5576 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.4174, allocations: 316.2 kB / 0.5579 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4176, allocations: 119 kB / 0.5581 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.4177, allocations: 94.19 kB / 0.5581 GB, free: 15.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4179, allocations: 370.7 kB / 0.5585 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.4181, allocations: 161 kB / 0.5586 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.4185, allocations: 304.6 kB / 0.5589 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.4192, allocations: 483.7 kB / 0.5594 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4192, allocations: 0 / 0.5594 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001357/0.4205, allocations: 0.796 MB / 0.5602 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4205, allocations: 11.22 kB / 0.5602 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4206, allocations: 4 kB / 0.5602 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/0.4212, allocations: 219.1 kB / 0.5604 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4215, allocations: 71.83 kB / 0.5605 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.4264, allocations: 4.23 MB / 0.5646 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.4267, allocations: 23.92 kB / 0.5646 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.4267, allocations: 23.98 kB / 0.5646 GB, free: 8.762 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.4272, allocations: 225.9 kB / 0.5649 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4273, allocations: 47.72 kB / 0.5649 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4283, allocations: 0.6416 MB / 0.5655 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4283, allocations: 4 kB / 0.5655 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4283, allocations: 4 kB / 0.5655 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4283, allocations: 3.984 kB / 0.5655 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.4302, allocations: 1.183 MB / 0.5667 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4302, allocations: 8 kB / 0.5667 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.4307, allocations: 79.88 kB / 0.5668 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.4308, allocations: 49.69 kB / 0.5668 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.4309, allocations: 11.98 kB / 0.5668 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.4335, allocations: 2.835 MB / 0.5696 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4335, allocations: 8.062 kB / 0.5696 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.4349, allocations: 0.9493 MB / 0.5705 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.4351, allocations: 152.7 kB / 0.5707 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.4352, allocations: 8 kB / 0.5707 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4354, allocations: 11.98 kB / 0.5707 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.4355, allocations: 23.97 kB / 0.5707 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.4355, allocations: 12 kB / 0.5707 GB, free: 1.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000493/0.436, allocations: 291.1 kB / 0.571 GB, free: 1.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.436, allocations: 8 kB / 0.571 GB, free: 1.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.4367, allocations: 132 kB / 0.5712 GB, free: 1.562 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.4369, allocations: 115 kB / 0.5713 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4383, allocations: 0.7241 MB / 0.572 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4383, allocations: 0 / 0.572 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005681/0.4389, allocations: 414 kB / 0.5724 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.4397, allocations: 125.2 kB / 0.5725 GB, free: 148 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.4424, allocations: 1.498 MB / 0.574 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.4432, allocations: 0.9483 MB / 0.5749 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000308/0.4435, allocations: 108.4 kB / 0.575 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4436, allocations: 35.44 kB / 0.575 GB, free: 13.49 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4436, allocations: 0 / 0.575 GB, free: 13.49 MB / 430.1 MB Notification: Performance of Templates: time 0.01528/0.4588, allocations: 7.145 MB / 0.582 GB, free: 6.402 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.174064536578953]