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.001322/0.001322, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001049/0.001049, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 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.2338/0.2338, allocations: 29.41 MB / 291.2 MB, free: 2.516 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.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",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.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.108e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.01476/0.01479, allocations: 5.514 MB / 375.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.02703, allocations: 4.004 MB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.02785, allocations: 19.81 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01891/0.04676, allocations: 5.477 MB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009663/0.04773, allocations: 365.9 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.04829, allocations: 263.4 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.05017, allocations: 1.668 MB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.0507, allocations: 332.3 kB / 387.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005964/0.0513, allocations: 0.4947 MB / 387.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.05183, allocations: 434.8 kB / 388.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.0519, allocations: 48 kB / 388.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.05215, allocations: 123.7 kB / 388.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.05237, allocations: 303.2 kB / 388.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.05257, allocations: 215.5 kB / 388.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.0533, allocations: 0.5449 MB / 389.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.05331, allocations: 0 / 389.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.05331, allocations: 4 kB / 389.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.05332, allocations: 0 / 389.4 MB, free: 7.48 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.001247/0.05457, allocations: 0.9527 MB / 390.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.0546, allocations: 15.98 kB / 390.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.05502, allocations: 144.4 kB / 390.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.05575, allocations: 0.4951 MB / 391 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.05577, allocations: 37.36 kB / 391 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.05585, allocations: 55.89 kB / 391.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.05643, allocations: 465.1 kB / 391.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.05645, allocations: 8 kB / 391.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.05649, allocations: 23.92 kB / 391.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-05/0.05658, allocations: 48.91 kB / 391.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.05696, allocations: 221.7 kB / 391.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.05926, allocations: 2.524 MB / 394.4 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.05958, allocations: 217.1 kB / 394.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.05972, allocations: 103.1 kB / 394.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.05974, allocations: 8 kB / 394.7 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.05979, allocations: 45.33 kB / 394.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/0.0598, allocations: 0 / 394.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001572/0.06137, allocations: 0.9632 MB / 395.7 MB, free: 0.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.06142, allocations: 106.8 kB / 395.8 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.06174, allocations: 442.6 kB / 396.2 MB, free: 256 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.06176, allocations: 37.86 kB / 396.3 MB, free: 212 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.06195, allocations: 374.8 kB / 396.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.06203, allocations: 126.9 kB / 396.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.06212, allocations: 95.84 kB / 396.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.06227, allocations: 0.5352 MB / 397.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.06238, allocations: 64.95 kB / 397.4 MB, free: 15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.06259, allocations: 262.9 kB / 397.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.06294, allocations: 361.3 kB / 398.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.06295, allocations: 4 kB / 398.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007217/0.06367, allocations: 0.5035 MB / 398.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.06369, allocations: 8 kB / 398.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.0637, allocations: 4 kB / 398.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.06414, allocations: 187.2 kB / 398.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.06433, allocations: 71.89 kB / 398.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.06711, allocations: 4.116 MB / 402.9 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.06726, allocations: 19.98 kB / 403 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.06729, allocations: 20 kB / 403 MB, free: 9.035 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.0001463/0.06743, allocations: 180.4 kB / 403.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.06751, allocations: 59.66 kB / 403.2 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.06798, allocations: 348.7 kB / 403.6 MB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.06798, allocations: 4 kB / 403.6 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.06799, allocations: 4 kB / 403.6 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.06799, allocations: 3.938 kB / 403.6 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.06894, allocations: 0.7888 MB / 404.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.06895, allocations: 15.91 kB / 404.4 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.06919, allocations: 75.88 kB / 404.4 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.06929, allocations: 47.34 kB / 404.5 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.06932, allocations: 8 kB / 404.5 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.07075, allocations: 3.464 MB / 408 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.07076, allocations: 4.25 kB / 408 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.07135, allocations: 0.684 MB / 408.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.07144, allocations: 67.58 kB / 408.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.07148, allocations: 19.98 kB / 408.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.07161, allocations: 12 kB / 408.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.07167, allocations: 27.94 kB / 408.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.07169, allocations: 8 kB / 408.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.07188, allocations: 279 kB / 409.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07188, allocations: 4 kB / 409.1 MB, free: 2.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.07229, allocations: 136 kB / 409.2 MB, free: 2.445 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.0001112/0.0724, allocations: 107.2 kB / 409.3 MB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.07316, allocations: 0.6873 MB / 410 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.07316, allocations: 0 / 410 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.07346, allocations: 469.3 kB / 410.4 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.07397, allocations: 93.95 kB / 410.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.07615, allocations: 1.261 MB / 411.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.07633, allocations: 181.7 kB / 412 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.07652, allocations: 80.3 kB / 412.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.07661, allocations: 48.47 kB / 412.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/0.07661, allocations: 4 kB / 412.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of Templates: time 0.009647/0.08626, allocations: 6.342 MB / 418.4 MB, free: 9.145 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.321312743006274]