Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 107.4 kB / 17.15 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 48.52 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1154, allocations: 46.64 MB / 326.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02632/0.1418, allocations: 24.96 MB / 351.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.1571, allocations: 6.97 MB / 358.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.162, allocations: 147.4 kB / 358.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004235/0.1662, allocations: 1.457 MB / 360.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007952/0.1742, allocations: 2.047 MB / 362.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.1786, allocations: 1.392 MB / 363.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.1906, allocations: 8.959 MB / 372.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007111/0.1978, allocations: 6.042 MB / 378.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2084/0.4062, allocations: 3.218 MB / 381.9 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/0.4137, allocations: 4.266 MB / 386.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00247/0.4162, allocations: 0.662 MB / 386.8 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.4199, allocations: 0.8744 MB / 387.7 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.422, allocations: 2.026 MB / 389.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007075/0.4291, allocations: 4.212 MB / 393.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.4402, allocations: 14.23 MB / 408.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4402, allocations: 3.375 kB / 408.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4402, allocations: 0 / 408.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002911/0.4405, allocations: 0.9688 kB / 408.2 MB, free: 8.699 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01977/0.4603, allocations: 9.203 MB / 417.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4604, allocations: 9.719 kB / 417.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/0.4614, allocations: 0.9929 MB / 418.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008026/0.4695, allocations: 1.743 MB / 420.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00901/0.4785, allocations: 4.601 MB / 424.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/0.479, allocations: 0.5452 MB / 425.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.481, allocations: 0.7065 MB / 426 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.5019, allocations: 9.79 MB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.5021, allocations: 4 kB / 435.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/0.5031, allocations: 295.7 kB / 436.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003665/0.5035, allocations: 357 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.5202, allocations: 8.286 MB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05741/0.5776, allocations: 30.49 MB / 475.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/0.5928, allocations: 16.07 MB / 491.2 MB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004975/0.5978, allocations: 3.048 MB / 494.3 MB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/0.6136, allocations: 8.084 MB / 0.4906 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.6137, allocations: 64.78 kB / 0.4907 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=281): time 4.93e-06/0.6137, allocations: 0 / 0.4907 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=289): time 0.02332/0.6371, allocations: 11.58 MB / 0.502 GB, free: 2.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.6372, allocations: 81.69 kB / 0.5021 GB, free: 2.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005597/0.6428, allocations: 3.641 MB / 0.5056 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003328/0.6431, allocations: 77.7 kB / 0.5057 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/0.6452, allocations: 3.186 MB / 0.5088 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008617/0.646, allocations: 0.9935 MB / 0.5098 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009195/0.647, allocations: 0.644 MB / 0.5104 GB, free: 9.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.6471, allocations: 309.1 kB / 0.5107 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.6494, allocations: 1.479 MB / 0.5121 GB, free: 8.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/0.6524, allocations: 2.621 MB / 0.5147 GB, free: 5.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/0.658, allocations: 4.39 MB / 0.519 GB, free: 324 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/0.658, allocations: 12 kB / 0.519 GB, free: 312 kB / 430.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008046/0.6661, allocations: 5.03 MB / 0.5239 GB, free: 11.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.6661, allocations: 23.94 kB / 0.5239 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-05/0.6662, allocations: 36 kB / 0.524 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009418/0.6672, allocations: 395.8 kB / 0.5243 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.6703, allocations: 0.8628 MB / 0.5252 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.6765, allocations: 7.344 MB / 0.5324 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.6797, allocations: 167.8 kB / 0.5325 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.6801, allocations: 164 kB / 0.5327 GB, free: 1.996 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (451): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1931/0.8732, allocations: 2.132 MB / 0.5348 GB, free: 152.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/0.8746, allocations: 405.7 kB / 0.5351 GB, free: 152.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009181/0.8838, allocations: 4.459 MB / 0.5395 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.8839, allocations: 32.81 kB / 0.5395 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/0.8839, allocations: 16.84 kB / 0.5395 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.884, allocations: 15.38 kB / 0.5396 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.9039, allocations: 10.47 MB / 0.5498 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.904, allocations: 8.875 kB / 0.5498 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.9059, allocations: 446.9 kB / 0.5502 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.9081, allocations: 0.8754 MB / 0.5511 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.9083, allocations: 75.78 kB / 0.5511 GB, free: 148.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.9215, allocations: 16.19 MB / 0.5669 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9216, allocations: 7.75 kB / 0.567 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008807/0.9304, allocations: 6.423 MB / 0.5732 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/0.9326, allocations: 0.8016 MB / 0.574 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/0.9331, allocations: 66.23 kB / 0.5741 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.9348, allocations: 134.7 kB / 0.5742 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005875/0.9354, allocations: 231.8 kB / 0.5744 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.9356, allocations: 77.98 kB / 0.5745 GB, free: 132.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003841/0.9395, allocations: 2.471 MB / 0.5769 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9395, allocations: 0 / 0.5769 GB, free: 131.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00462/0.9441, allocations: 1.212 MB / 0.5781 GB, free: 130.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008411/0.9525, allocations: 7.099 MB / 0.585 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005501/0.958, allocations: 4.354 MB / 0.5893 GB, free: 120 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.9581, allocations: 4 kB / 0.5893 GB, free: 120 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003584/0.9617, allocations: 2.983 MB / 0.5922 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005088/0.9668, allocations: 1.059 MB / 0.5932 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09374/1.061, allocations: 55.02 MB / 0.647 GB, free: 55.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004939/1.065, allocations: 4.347 MB / 0.6512 GB, free: 51.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003462/1.069, allocations: 0.894 MB / 0.6521 GB, free: 50.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/1.072, allocations: 2.729 MB / 0.6547 GB, free: 47.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.072, allocations: 4 kB / 0.6547 GB, free: 47.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7527/1.825, allocations: 104.8 MB / 0.7571 GB, free: 110.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/1.825, allocations: 271.7 kB / 0.7574 GB, free: 110 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.522/6.347, allocations: 0 / 0.7574 GB, free: 110 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_Inverter_MultiPhase/SMPM_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches