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.001202/0.001202, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001033/0.001033, allocations: 165 kB / 24.56 MB, free: 12 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.598 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.2657/0.2657, allocations: 29.41 MB / 290.9 MB, free: 2.496 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 1.834e-06/1.834e-06, allocations: 3.938 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.733e-05, allocations: 5.922 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005827/0.005854, allocations: 5.233 MB / 374.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.01153, allocations: 4.009 MB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.01195, allocations: 27.75 kB / 378.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007659/0.01961, allocations: 5.341 MB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007312/0.02034, allocations: 357.9 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.02089, allocations: 263.3 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.02253, allocations: 1.672 MB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.02301, allocations: 324.3 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.02357, allocations: 0.4909 MB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.02409, allocations: 434.8 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.02416, allocations: 44 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.02442, allocations: 127.7 kB / 387.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.02466, allocations: 303.2 kB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.02487, allocations: 219.5 kB / 388.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007553/0.02562, allocations: 0.541 MB / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.02563, allocations: 0 / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.02563, allocations: 0 / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.02564, allocations: 0 / 389 MB, free: 7.59 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.001351/0.02699, allocations: 0.9643 MB / 389.9 MB, free: 6.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.02704, allocations: 11.98 kB / 390 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.02742, allocations: 136.4 kB / 390.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.02821, allocations: 0.4991 MB / 390.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.02825, allocations: 41.34 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.02832, allocations: 51.89 kB / 390.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.02892, allocations: 469.1 kB / 391.1 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/0.02926, allocations: 3.938 kB / 391.1 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.0293, allocations: 20 kB / 391.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.21e-05/0.02939, allocations: 44.97 kB / 391.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.02978, allocations: 225.7 kB / 391.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.0323, allocations: 2.531 MB / 394 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.03262, allocations: 221 kB / 394.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.03275, allocations: 99.03 kB / 394.3 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.03277, allocations: 4 kB / 394.3 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.03281, allocations: 45.38 kB / 394.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.03281, allocations: 0 / 394.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001512/0.03432, allocations: 0.9594 MB / 395.3 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.03437, allocations: 110.8 kB / 395.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.03469, allocations: 434.6 kB / 395.8 MB, free: 372 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.03471, allocations: 33.86 kB / 395.8 MB, free: 332 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.03491, allocations: 382.9 kB / 396.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.03499, allocations: 126.9 kB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.03509, allocations: 87.84 kB / 396.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.03524, allocations: 0.5391 MB / 397 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.03535, allocations: 68.95 kB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.03556, allocations: 266.2 kB / 397.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.03591, allocations: 365.1 kB / 397.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.03592, allocations: 0 / 397.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001047/0.03696, allocations: 0.5152 MB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.03698, allocations: 6.5 kB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.037, allocations: 11.98 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005289/0.03753, allocations: 175.4 kB / 398.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.03775, allocations: 75.89 kB / 398.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.04058, allocations: 4.109 MB / 402.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.0408, allocations: 16 kB / 402.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.04083, allocations: 27.98 kB / 402.6 MB, free: 9.137 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.0001732/0.041, allocations: 180.5 kB / 402.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.04108, allocations: 59.66 kB / 402.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.04158, allocations: 348.7 kB / 403.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.04159, allocations: 4 kB / 403.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.04159, allocations: 0 / 403.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.0416, allocations: 4 kB / 403.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.04265, allocations: 0.8005 MB / 404 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.04266, allocations: 8 kB / 404 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.04293, allocations: 75.89 kB / 404 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.04306, allocations: 51.28 kB / 404.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.04309, allocations: 11.98 kB / 404.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.045, allocations: 3.452 MB / 407.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.04501, allocations: 3.938 kB / 407.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.04573, allocations: 0.6803 MB / 408.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.04585, allocations: 71.58 kB / 408.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.04589, allocations: 8 kB / 408.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.04603, allocations: 19.98 kB / 408.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.04608, allocations: 23.95 kB / 408.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.0461, allocations: 12 kB / 408.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.04631, allocations: 279 kB / 408.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04631, allocations: 4 kB / 408.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.04684, allocations: 135.9 kB / 408.8 MB, free: 2.555 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.0001401/0.04698, allocations: 111.2 kB / 408.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008942/0.04787, allocations: 0.6834 MB / 409.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.04787, allocations: 4 kB / 409.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.0482, allocations: 473.3 kB / 410 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.04872, allocations: 99.83 kB / 410.1 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.05101, allocations: 1.251 MB / 411.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.05118, allocations: 189.7 kB / 411.6 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.05139, allocations: 80.3 kB / 411.7 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.05148, allocations: 40.48 kB / 411.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.05148, allocations: 4 kB / 411.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of Templates: time 0.01363/0.06512, allocations: 6.335 MB / 418 MB, free: 9.258 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.38153063505888]