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.001411/0.001411, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001675/0.001675, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.462/1.462, allocations: 230.6 MB / 257.5 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.2024/0.2024, allocations: 38.55 MB / 352.5 MB, free: 12.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",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.002136/0.002136, allocations: 70.33 kB / 492.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 62.47 MB / 0.5419 GB, free: 204 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.00792/0.3506, allocations: 5.198 MB / 0.547 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007249/0.3579, allocations: 3.82 MB / 0.5508 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.3584, allocations: 26.59 kB / 0.5508 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.3704, allocations: 5.367 MB / 0.556 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.3716, allocations: 350.3 kB / 0.5564 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.3724, allocations: 251.5 kB / 0.5566 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.3748, allocations: 1.633 MB / 0.5582 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006151/0.3755, allocations: 332.3 kB / 0.5585 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.376, allocations: 390.6 kB / 0.5589 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007077/0.3768, allocations: 466.2 kB / 0.5593 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.3768, allocations: 44 kB / 0.5594 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.3772, allocations: 115.8 kB / 0.5595 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.3775, allocations: 291.1 kB / 0.5598 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.3779, allocations: 262.8 kB / 0.56 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.3791, allocations: 0.7548 MB / 0.5607 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3791, allocations: 0 / 0.5607 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3791, allocations: 0 / 0.5607 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.3791, allocations: 4 kB / 0.5607 GB, free: 0.9102 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.002051/0.3812, allocations: 0.8512 MB / 0.5616 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.3812, allocations: 19.97 kB / 0.5616 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.3814, allocations: 86.7 kB / 0.5617 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005079/0.3819, allocations: 100.5 kB / 0.5618 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.3832, allocations: 496.3 kB / 0.5622 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.3833, allocations: 40.97 kB / 0.5623 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3834, allocations: 47.94 kB / 0.5623 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3845, allocations: 0.6453 MB / 0.563 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.3845, allocations: 3.938 kB / 0.563 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.3846, allocations: 23.98 kB / 0.563 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.3847, allocations: 48.95 kB / 0.563 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.3855, allocations: 495.6 kB / 0.5635 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.3895, allocations: 2.342 MB / 0.5658 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.39, allocations: 295.5 kB / 0.5661 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.3903, allocations: 162.6 kB / 0.5662 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3903, allocations: 7.938 kB / 0.5662 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3904, allocations: 46.48 kB / 0.5663 GB, free: 10.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.053e-06/0.3904, allocations: 0 / 0.5663 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002571/0.3929, allocations: 1.274 MB / 0.5675 GB, free: 9.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.393, allocations: 110.8 kB / 0.5676 GB, free: 9.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.3936, allocations: 426.1 kB / 0.568 GB, free: 9.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.3936, allocations: 37.7 kB / 0.5681 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.3938, allocations: 316.2 kB / 0.5684 GB, free: 8.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.394, allocations: 119 kB / 0.5685 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3941, allocations: 98.06 kB / 0.5686 GB, free: 8.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3943, allocations: 358.7 kB / 0.5689 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.3945, allocations: 164.9 kB / 0.5691 GB, free: 7.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.3949, allocations: 297.2 kB / 0.5694 GB, free: 7.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.3956, allocations: 491.7 kB / 0.5698 GB, free: 7.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3956, allocations: 0 / 0.5698 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001396/0.397, allocations: 0.7205 MB / 0.5705 GB, free: 6.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.397, allocations: 6.656 kB / 0.5705 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3971, allocations: 4 kB / 0.5705 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.3977, allocations: 205.8 kB / 0.5707 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.398, allocations: 79.83 kB / 0.5708 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.403, allocations: 4.011 MB / 0.5747 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.4034, allocations: 15.98 kB / 0.5748 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.4034, allocations: 23.98 kB / 0.5748 GB, free: 1.797 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.0003723/0.4038, allocations: 225.7 kB / 0.575 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4039, allocations: 51.72 kB / 0.575 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.4048, allocations: 498.9 kB / 0.5755 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4049, allocations: 4 kB / 0.5755 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4049, allocations: 4 kB / 0.5755 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4049, allocations: 0 / 0.5755 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.4066, allocations: 0.977 MB / 0.5765 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4066, allocations: 3.938 kB / 0.5765 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.407, allocations: 75.89 kB / 0.5766 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.4072, allocations: 57.73 kB / 0.5766 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.4072, allocations: 11.98 kB / 0.5766 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.4094, allocations: 2.628 MB / 0.5792 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4094, allocations: 0 / 0.5792 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4106, allocations: 0.8069 MB / 0.58 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.4108, allocations: 67.64 kB / 0.58 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.4108, allocations: 12 kB / 0.5801 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4111, allocations: 15.98 kB / 0.5801 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.4112, allocations: 28.05 kB / 0.5801 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4112, allocations: 8 kB / 0.5801 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.4115, allocations: 299.1 kB / 0.5804 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4115, allocations: 0 / 0.5804 GB, free: 11.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.4121, allocations: 128 kB / 0.5805 GB, free: 11.58 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.001442/0.4136, allocations: 1.38 MB / 0.5819 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.4149, allocations: 0.7084 MB / 0.5825 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4149, allocations: 0 / 0.5825 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.4155, allocations: 401.2 kB / 0.5829 GB, free: 9.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.4162, allocations: 124.8 kB / 0.5831 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/0.424, allocations: 5.405 MB / 0.5883 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4244, allocations: 344.8 kB / 0.5887 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003295/0.4247, allocations: 100.4 kB / 0.5888 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.425, allocations: 195.4 kB / 0.5889 GB, free: 2.602 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.425, allocations: 0 / 0.5889 GB, free: 2.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/0.4849, allocations: 12.91 MB / 0.6015 GB, free: 5.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.76, allocations: 7.219 kB / 0.6016 GB, free: 5.898 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.748193158302456]