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.0013/0.0013, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001544/0.001544, allocations: 212.3 kB / 24.53 MB, free: 4.07 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8 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.1978/0.1978, allocations: 38.52 MB / 353.2 MB, free: 12.52 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="cs",version="2.0",platforms={"static"}) [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.002866/0.002866, allocations: 59.91 kB / 493.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3189, allocations: 62.48 MB / 0.5428 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007691/0.3266, allocations: 5.57 MB / 0.5482 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008314/0.335, allocations: 4.225 MB / 0.5523 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.3357, allocations: 30.91 kB / 0.5524 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.3467, allocations: 5.487 MB / 0.5577 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3478, allocations: 350.3 kB / 0.5581 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.3485, allocations: 247.5 kB / 0.5583 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.351, allocations: 1.653 MB / 0.5599 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.3516, allocations: 328.3 kB / 0.5602 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.3522, allocations: 390.5 kB / 0.5606 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000708/0.3529, allocations: 482.3 kB / 0.5611 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.353, allocations: 47.94 kB / 0.5611 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.3533, allocations: 131.8 kB / 0.5612 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.3536, allocations: 279.2 kB / 0.5615 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.3539, allocations: 322.3 kB / 0.5618 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3549, allocations: 0.7509 MB / 0.5625 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3549, allocations: 0 / 0.5625 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3549, allocations: 4 kB / 0.5625 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3549, allocations: 0 / 0.5625 GB, free: 204 kB / 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.001887/0.3568, allocations: 0.8531 MB / 0.5634 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3569, allocations: 11.98 kB / 0.5634 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.636e-05/0.3569, allocations: 17.12 kB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.847e-05/0.357, allocations: 86.7 kB / 0.5635 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.3575, allocations: 96.47 kB / 0.5636 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3586, allocations: 0.4883 MB / 0.5641 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.3586, allocations: 36.92 kB / 0.5641 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.3588, allocations: 55.98 kB / 0.5641 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.36, allocations: 0.6453 MB / 0.5648 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.3601, allocations: 4 kB / 0.5648 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.3601, allocations: 20 kB / 0.5648 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.3603, allocations: 56.89 kB / 0.5648 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.3611, allocations: 491.6 kB / 0.5653 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.3649, allocations: 2.447 MB / 0.5677 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.3654, allocations: 295.6 kB / 0.568 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.3657, allocations: 163.1 kB / 0.5681 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3657, allocations: 7.984 kB / 0.5681 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3657, allocations: 46.48 kB / 0.5682 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.3657, allocations: 0 / 0.5682 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002467/0.3682, allocations: 1.27 MB / 0.5694 GB, free: 8.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3683, allocations: 110.8 kB / 0.5695 GB, free: 8.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.3688, allocations: 421.9 kB / 0.5699 GB, free: 8.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.3689, allocations: 33.7 kB / 0.57 GB, free: 8.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.3691, allocations: 312.2 kB / 0.5703 GB, free: 7.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3693, allocations: 126.9 kB / 0.5704 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3694, allocations: 94.2 kB / 0.5705 GB, free: 7.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3696, allocations: 358.7 kB / 0.5708 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.3699, allocations: 164.9 kB / 0.571 GB, free: 7.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.3703, allocations: 311.2 kB / 0.5713 GB, free: 6.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.371, allocations: 487.7 kB / 0.5717 GB, free: 6.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.371, allocations: 0 / 0.5717 GB, free: 6.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001433/0.3725, allocations: 0.7206 MB / 0.5724 GB, free: 5.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3725, allocations: 8 kB / 0.5725 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.3725, allocations: 4 kB / 0.5725 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.3732, allocations: 201.5 kB / 0.5727 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3735, allocations: 71.89 kB / 0.5727 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005305/0.3788, allocations: 4.044 MB / 0.5767 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3792, allocations: 19.98 kB / 0.5767 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3792, allocations: 20 kB / 0.5767 GB, free: 0.9531 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.000331/0.3796, allocations: 225.7 kB / 0.5769 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3797, allocations: 47.67 kB / 0.577 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009341/0.3806, allocations: 499 kB / 0.5774 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3806, allocations: 4 kB / 0.5774 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3806, allocations: 4.031 kB / 0.5775 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3806, allocations: 3.984 kB / 0.5775 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.3824, allocations: 1.02 MB / 0.5785 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3825, allocations: 0 / 0.5785 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.3829, allocations: 71.89 kB / 0.5785 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.3831, allocations: 57.61 kB / 0.5786 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.3831, allocations: 15.98 kB / 0.5786 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.3855, allocations: 2.632 MB / 0.5812 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3855, allocations: 3.938 kB / 0.5812 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3867, allocations: 0.8064 MB / 0.582 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.3869, allocations: 71.64 kB / 0.582 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.387, allocations: 12 kB / 0.582 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.3873, allocations: 11.98 kB / 0.582 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.3873, allocations: 23.95 kB / 0.5821 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.3874, allocations: 12 kB / 0.5821 GB, free: 11.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.3877, allocations: 295.1 kB / 0.5824 GB, free: 10.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3877, allocations: 0 / 0.5824 GB, free: 10.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.3884, allocations: 132 kB / 0.5825 GB, free: 10.68 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.001511/0.3899, allocations: 1.363 MB / 0.5838 GB, free: 9.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3915, allocations: 0.7123 MB / 0.5845 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3915, allocations: 0 / 0.5845 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.3922, allocations: 409.2 kB / 0.5849 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.393, allocations: 117.8 kB / 0.585 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/0.4022, allocations: 5.424 MB / 0.5903 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/0.4031, allocations: 0.9366 MB / 0.5912 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.4034, allocations: 104.4 kB / 0.5913 GB, free: 1.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.4037, allocations: 199.4 kB / 0.5915 GB, free: 1.086 MB / 430.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4037, allocations: 3.938 kB / 0.5915 GB, free: 1.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.449, allocations: 12.66 MB / 0.6039 GB, free: 4.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.46, allocations: 4.5 kB / 0.6039 GB, free: 4.59 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] 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: 17.5306208920083]