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.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.001384/0.001384, allocations: 81.66 kB / 20.49 MB, free: 1.211 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.001402/0.001402, allocations: 162.7 kB / 23.75 MB, free: 4.234 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.607/1.607, allocations: 177.2 MB / 204.1 MB, free: 9.281 MB / 190.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.1781/0.1781, allocations: 29.43 MB / 289.9 MB, free: 3.398 MB / 270.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.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: 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.002207/0.002207, allocations: 59.91 kB / 430.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3714, allocations: 62.46 MB / 492.9 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.008326/0.3798, allocations: 5.185 MB / 498.1 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.387, allocations: 3.822 MB / 0.4901 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.3875, allocations: 27.75 kB / 0.4902 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.399, allocations: 5.4 MB / 0.4954 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.4001, allocations: 342.3 kB / 0.4958 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.4008, allocations: 255.5 kB / 0.496 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4033, allocations: 1.645 MB / 0.4976 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005901/0.4039, allocations: 320.3 kB / 0.4979 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007228/0.4046, allocations: 0.5024 MB / 0.4984 GB, free: 432 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.4054, allocations: 470.2 kB / 0.4989 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.4055, allocations: 48 kB / 0.4989 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.4058, allocations: 119.8 kB / 0.499 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.4061, allocations: 295.1 kB / 0.4993 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.4064, allocations: 258.8 kB / 0.4995 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009666/0.4074, allocations: 0.7547 MB / 0.5003 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4074, allocations: 4 kB / 0.5003 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4074, allocations: 0 / 0.5003 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4074, allocations: 0 / 0.5003 GB, free: 14.49 MB / 414.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.001834/0.4092, allocations: 0.8569 MB / 0.5011 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4093, allocations: 8.031 kB / 0.5011 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.4097, allocations: 92.48 kB / 0.5012 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.4108, allocations: 496.5 kB / 0.5017 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.4109, allocations: 40.98 kB / 0.5017 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.411, allocations: 44 kB / 0.5018 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.412, allocations: 0.6492 MB / 0.5024 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.412, allocations: 11.94 kB / 0.5024 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.4121, allocations: 16 kB / 0.5024 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.4122, allocations: 48.97 kB / 0.5025 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008245/0.4131, allocations: 499.5 kB / 0.503 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.4166, allocations: 2.262 MB / 0.5052 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.4171, allocations: 295.5 kB / 0.5054 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.4174, allocations: 171 kB / 0.5056 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.4174, allocations: 8 kB / 0.5056 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.4175, allocations: 38.56 kB / 0.5057 GB, free: 8.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.4175, allocations: 3.938 kB / 0.5057 GB, free: 8.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002756/0.4202, allocations: 1.27 MB / 0.5069 GB, free: 7.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.4203, allocations: 106.8 kB / 0.507 GB, free: 7.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.4208, allocations: 401.8 kB / 0.5074 GB, free: 6.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.4209, allocations: 37.64 kB / 0.5074 GB, free: 6.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.4211, allocations: 320.1 kB / 0.5077 GB, free: 6.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.4212, allocations: 126.9 kB / 0.5078 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.4214, allocations: 86.14 kB / 0.5079 GB, free: 6.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4216, allocations: 358.8 kB / 0.5083 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.4219, allocations: 164.9 kB / 0.5084 GB, free: 5.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.4223, allocations: 305.1 kB / 0.5087 GB, free: 5.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.423, allocations: 491.6 kB / 0.5092 GB, free: 4.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.423, allocations: 0 / 0.5092 GB, free: 4.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001475/0.4245, allocations: 0.7124 MB / 0.5099 GB, free: 4.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4245, allocations: 8.531 kB / 0.5099 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4245, allocations: 4 kB / 0.5099 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/0.4252, allocations: 209.5 kB / 0.5101 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.4255, allocations: 75.89 kB / 0.5102 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.4305, allocations: 3.948 MB / 0.514 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.431, allocations: 27.98 kB / 0.514 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.431, allocations: 16 kB / 0.5141 GB, free: 15.69 MB / 430.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.0004197/0.4314, allocations: 229.7 kB / 0.5143 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.4316, allocations: 55.64 kB / 0.5143 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4326, allocations: 486.9 kB / 0.5148 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4326, allocations: 8.031 kB / 0.5148 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4326, allocations: 7.938 kB / 0.5148 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4326, allocations: 3.984 kB / 0.5148 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4344, allocations: 0.8956 MB / 0.5157 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.4344, allocations: 4 kB / 0.5157 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.4349, allocations: 75.95 kB / 0.5158 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.4351, allocations: 57.61 kB / 0.5158 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.4351, allocations: 8 kB / 0.5158 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.4375, allocations: 2.586 MB / 0.5184 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4375, allocations: 4.031 kB / 0.5184 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.4387, allocations: 0.811 MB / 0.5192 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.4389, allocations: 71.64 kB / 0.5192 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.439, allocations: 15.92 kB / 0.5192 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.4393, allocations: 12 kB / 0.5192 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.4394, allocations: 31.88 kB / 0.5193 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.4394, allocations: 12 kB / 0.5193 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004058/0.4398, allocations: 271.1 kB / 0.5195 GB, free: 9.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4398, allocations: 0 / 0.5195 GB, free: 9.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007998/0.4406, allocations: 132 kB / 0.5197 GB, free: 9.633 MB / 430.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.0002271/0.4409, allocations: 119.1 kB / 0.5198 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.4425, allocations: 0.7124 MB / 0.5205 GB, free: 8.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4425, allocations: 0 / 0.5205 GB, free: 8.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.4432, allocations: 405.2 kB / 0.5209 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.4439, allocations: 112.1 kB / 0.521 GB, free: 8.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.4469, allocations: 1.489 MB / 0.5224 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4474, allocations: 344.9 kB / 0.5228 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.4477, allocations: 108.2 kB / 0.5229 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4478, allocations: 36.5 kB / 0.5229 GB, free: 6.207 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4478, allocations: 0 / 0.5229 GB, free: 6.207 MB / 430.1 MB Notification: Performance of Templates: time 0.01427/0.462, allocations: 6.27 MB / 0.529 GB, free: 28 kB / 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.404431467875838]