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.001988/0.001988, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002379/0.002379, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.2929/0.2929, allocations: 29.41 MB / 290.5 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.894e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007732/0.007761, allocations: 5.206 MB / 374.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.01494, allocations: 3.813 MB / 377.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.0153, allocations: 23.81 kB / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.02703, allocations: 5.473 MB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.0283, allocations: 361.8 kB / 383.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.02917, allocations: 263.4 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.03198, allocations: 1.672 MB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.03259, allocations: 324.4 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007305/0.03332, allocations: 0.5025 MB / 386.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.03405, allocations: 426.7 kB / 386.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.982e-05/0.03414, allocations: 48 kB / 387 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.03444, allocations: 119.7 kB / 387.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.0348, allocations: 303.1 kB / 387.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.0351, allocations: 211.5 kB / 387.6 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.0362, allocations: 0.7554 MB / 388.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.0362, allocations: 0 / 388.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0362, allocations: 0 / 388.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.03621, allocations: 0 / 388.3 MB, free: 7.773 MB / 362.7 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.001919/0.03813, allocations: 0.8414 MB / 389.2 MB, free: 6.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.03817, allocations: 11.97 kB / 389.2 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006309/0.0388, allocations: 140.4 kB / 389.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.0402, allocations: 0.5119 MB / 389.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.04025, allocations: 41.31 kB / 389.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.04037, allocations: 59.88 kB / 390 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.04152, allocations: 0.6414 MB / 390.6 MB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.04154, allocations: 0 / 390.6 MB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.04159, allocations: 16 kB / 390.6 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.04175, allocations: 52.95 kB / 390.7 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.04273, allocations: 495.5 kB / 391.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.04669, allocations: 2.262 MB / 393.4 MB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.0473, allocations: 303.6 kB / 393.7 MB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.04759, allocations: 166.5 kB / 393.9 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.04764, allocations: 12 kB / 393.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.04769, allocations: 38.5 kB / 393.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.04769, allocations: 0 / 393.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002883/0.05057, allocations: 1.293 MB / 395.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.05066, allocations: 106.8 kB / 395.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.05114, allocations: 401.8 kB / 395.7 MB, free: 96 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.05118, allocations: 33.7 kB / 395.7 MB, free: 56 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.05149, allocations: 316.1 kB / 396 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.05162, allocations: 123 kB / 396.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.05179, allocations: 98.28 kB / 396.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.052, allocations: 354.8 kB / 396.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.05258, allocations: 172.8 kB / 396.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.05303, allocations: 293.2 kB / 397.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.05381, allocations: 499.4 kB / 397.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.05382, allocations: 4 kB / 397.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001556/0.05537, allocations: 0.7364 MB / 398.3 MB, free: 13.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.05539, allocations: 4 kB / 398.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.05541, allocations: 8 kB / 398.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008571/0.05626, allocations: 237.6 kB / 398.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.0566, allocations: 71.89 kB / 398.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/0.06207, allocations: 3.967 MB / 402.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.06241, allocations: 15.94 kB / 402.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.06246, allocations: 23.98 kB / 402.6 MB, free: 8.828 MB / 378.7 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.0003594/0.06282, allocations: 225.7 kB / 402.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.06295, allocations: 59.66 kB / 402.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.06398, allocations: 499 kB / 403.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.06399, allocations: 8 kB / 403.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.06399, allocations: 0 / 403.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.064, allocations: 8.109 kB / 403.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.06592, allocations: 0.9111 MB / 404.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.06593, allocations: 3.938 kB / 404.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.0664, allocations: 71.89 kB / 404.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.0666, allocations: 57.73 kB / 404.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.06663, allocations: 11.98 kB / 404.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.06912, allocations: 2.579 MB / 407 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.06913, allocations: 0 / 407 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.0704, allocations: 0.819 MB / 407.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.07057, allocations: 71.69 kB / 407.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.07063, allocations: 8 kB / 407.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.07089, allocations: 11.98 kB / 407.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.07097, allocations: 31.89 kB / 408 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.071, allocations: 16 kB / 408 MB, free: 3.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.07136, allocations: 283 kB / 408.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07136, allocations: 0 / 408.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006362/0.07199, allocations: 132 kB / 408.4 MB, free: 2.738 MB / 378.7 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.0001656/0.07216, allocations: 115.2 kB / 408.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.07358, allocations: 0.708 MB / 409.2 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.07359, allocations: 4 kB / 409.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.07422, allocations: 405 kB / 409.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.07496, allocations: 105.5 kB / 409.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.07763, allocations: 1.331 MB / 411 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.0781, allocations: 348.9 kB / 411.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.07841, allocations: 92.31 kB / 411.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.07854, allocations: 40.48 kB / 411.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.07854, allocations: 4 kB / 411.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Templates: time 0.01452/0.09306, allocations: 6.298 MB / 417.8 MB, free: 9.281 MB / 394.7 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.009028683998622]