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.001285/0.001285, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001442/0.001442, allocations: 209 kB / 24.48 MB, free: 3.938 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.1841/0.1841, allocations: 38.56 MB / 353.2 MB, free: 12.31 MB / 286.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.002143/0.002143, allocations: 63.91 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2978, allocations: 62.47 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007334/0.3051, allocations: 5.195 MB / 0.5482 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.3119, allocations: 3.824 MB / 0.552 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.3123, allocations: 26.56 kB / 0.552 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.3229, allocations: 5.374 MB / 0.5572 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.324, allocations: 338.4 kB / 0.5576 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.3247, allocations: 255.5 kB / 0.5578 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.327, allocations: 1.633 MB / 0.5594 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.3275, allocations: 328.3 kB / 0.5597 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.328, allocations: 390.5 kB / 0.5601 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.3287, allocations: 466.2 kB / 0.5605 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.3288, allocations: 44 kB / 0.5606 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.3291, allocations: 123.8 kB / 0.5607 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.3294, allocations: 275.2 kB / 0.561 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.3297, allocations: 266.8 kB / 0.5612 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000951/0.3306, allocations: 0.7665 MB / 0.562 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3307, allocations: 0 / 0.562 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3307, allocations: 0 / 0.562 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.3307, allocations: 0 / 0.562 GB, free: 0.9023 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.001721/0.3324, allocations: 0.853 MB / 0.5628 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3324, allocations: 12.03 kB / 0.5628 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.3329, allocations: 102.5 kB / 0.5629 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.334, allocations: 482.5 kB / 0.5634 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.3341, allocations: 40.98 kB / 0.5634 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.3342, allocations: 51.95 kB / 0.5635 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3352, allocations: 0.6492 MB / 0.5641 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.3352, allocations: 7.875 kB / 0.5641 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.3353, allocations: 19.94 kB / 0.5641 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3354, allocations: 52.97 kB / 0.5642 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.3362, allocations: 495.6 kB / 0.5646 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.3397, allocations: 2.257 MB / 0.5668 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.3403, allocations: 303.4 kB / 0.5671 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3405, allocations: 166.5 kB / 0.5673 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3406, allocations: 4 kB / 0.5673 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3406, allocations: 42.5 kB / 0.5673 GB, free: 11.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.324e-06/0.3406, allocations: 7.938 kB / 0.5673 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002463/0.3431, allocations: 1.262 MB / 0.5686 GB, free: 9.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.3431, allocations: 110.8 kB / 0.5687 GB, free: 9.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.3436, allocations: 405.8 kB / 0.5691 GB, free: 9.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3436, allocations: 29.7 kB / 0.5691 GB, free: 9.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3439, allocations: 324.1 kB / 0.5694 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.344, allocations: 134.8 kB / 0.5695 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3442, allocations: 90.14 kB / 0.5696 GB, free: 8.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3443, allocations: 358.8 kB / 0.57 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.3446, allocations: 164.9 kB / 0.5701 GB, free: 8.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.345, allocations: 295.3 kB / 0.5704 GB, free: 7.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.3457, allocations: 491.7 kB / 0.5709 GB, free: 7.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3457, allocations: 4 kB / 0.5709 GB, free: 7.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001353/0.3471, allocations: 0.7075 MB / 0.5716 GB, free: 6.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3471, allocations: 11.94 kB / 0.5716 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3471, allocations: 4 kB / 0.5716 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.3478, allocations: 209.8 kB / 0.5718 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3481, allocations: 75.83 kB / 0.5719 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.3532, allocations: 3.945 MB / 0.5757 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.3536, allocations: 15.98 kB / 0.5757 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.3537, allocations: 27.94 kB / 0.5757 GB, free: 2.094 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.0004462/0.3541, allocations: 225.7 kB / 0.576 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3542, allocations: 47.7 kB / 0.576 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009688/0.3552, allocations: 498.9 kB / 0.5765 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3552, allocations: 4 kB / 0.5765 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3552, allocations: 3.984 kB / 0.5765 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3552, allocations: 4.031 kB / 0.5765 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.3569, allocations: 0.9072 MB / 0.5774 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3569, allocations: 0 / 0.5774 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.3574, allocations: 71.89 kB / 0.5775 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.3575, allocations: 61.67 kB / 0.5775 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.3576, allocations: 15.94 kB / 0.5775 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.3598, allocations: 2.583 MB / 0.58 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3598, allocations: 3.938 kB / 0.5801 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.3609, allocations: 0.7991 MB / 0.5808 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.3611, allocations: 75.61 kB / 0.5809 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.3612, allocations: 16.14 kB / 0.5809 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3614, allocations: 8 kB / 0.5809 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.3615, allocations: 31.94 kB / 0.581 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.3615, allocations: 12 kB / 0.581 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.3619, allocations: 271.1 kB / 0.5812 GB, free: 12.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3619, allocations: 0 / 0.5812 GB, free: 12.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.3625, allocations: 132 kB / 0.5814 GB, free: 12.04 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.0001617/0.3627, allocations: 124.6 kB / 0.5815 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.364, allocations: 0.7087 MB / 0.5822 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.364, allocations: 8.188 kB / 0.5822 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.3646, allocations: 401.2 kB / 0.5826 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.3653, allocations: 116 kB / 0.5827 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.3677, allocations: 1.557 MB / 0.5842 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.3681, allocations: 344.8 kB / 0.5845 GB, free: 8.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3682, allocations: 39.44 kB / 0.5846 GB, free: 8.641 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3682, allocations: 0 / 0.5846 GB, free: 8.641 MB / 430.1 MB Notification: Performance of Templates: time 0.01596/0.3842, allocations: 11.39 MB / 0.5957 GB, free: 13.25 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins1/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: 8.873604557011276]