Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.001188/0.001187, allocations: 106.3 kB / 17.06 MB, free: 5.82 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.001149/0.001149, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 47.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.276, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04028/0.3163, allocations: 38.28 MB / 438.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02318/0.3395, allocations: 10.03 MB / 448.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008804/0.3484, allocations: 295 kB / 448.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02453/0.3729, allocations: 10.24 MB / 459.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.3885, allocations: 4.125 MB / 463.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00918/0.3977, allocations: 2.376 MB / 465.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02274/0.4205, allocations: 16.38 MB / 482 MB, free: 6.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05528/0.4758, allocations: 31.2 MB / 0.5012 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01443/0.4903, allocations: 8.513 MB / 0.5095 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.5054, allocations: 9.324 MB / 0.5186 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007307/0.5128, allocations: 2.418 MB / 0.5209 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009798/0.5226, allocations: 2.812 MB / 0.5237 GB, free: 216 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009631/0.5323, allocations: 4.809 MB / 0.5284 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01615/0.5485, allocations: 9.199 MB / 0.5374 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4859/1.034, allocations: 32.18 MB / 0.5688 GB, free: 48.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.034, allocations: 0 / 0.5688 GB, free: 48.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.919e-06/1.034, allocations: 4.25 kB / 0.5688 GB, free: 48.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001239/1.036, allocations: 3.75 kB / 0.5688 GB, free: 48.13 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06277/1.098, allocations: 19.01 MB / 0.5874 GB, free: 39.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.099, allocations: 18.83 kB / 0.5874 GB, free: 39.58 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009863/1.108, allocations: 2.282 MB / 0.5896 GB, free: 38.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04717/1.156, allocations: 8.373 MB / 0.5978 GB, free: 34.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02356/1.179, allocations: 10.24 MB / 0.6078 GB, free: 25.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009592/1.18, allocations: 1.061 MB / 0.6088 GB, free: 24.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007198/1.187, allocations: 1.396 MB / 0.6102 GB, free: 23.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06602/1.253, allocations: 22.75 MB / 0.6324 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006551/1.254, allocations: 23.89 kB / 0.6324 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007287/1.261, allocations: 0.5773 MB / 0.633 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009089/1.262, allocations: 0.7715 MB / 0.6337 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05023/1.313, allocations: 21.01 MB / 0.6543 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.148/1.461, allocations: 72.19 MB / 0.7248 GB, free: 1.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2853/1.746, allocations: 42.4 MB / 0.7662 GB, free: 167.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009709/1.756, allocations: 5.163 MB / 0.7712 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/1.778, allocations: 12.7 MB / 0.7836 GB, free: 164.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/1.778, allocations: 92.45 kB / 0.7837 GB, free: 164 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 7.805e-06/1.778, allocations: 1.078 kB / 0.7837 GB, free: 164 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05689/1.835, allocations: 26.59 MB / 0.8097 GB, free: 152.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/1.835, allocations: 140.8 kB / 0.8098 GB, free: 152.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009178/1.844, allocations: 5.758 MB / 0.8154 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.845, allocations: 110.8 kB / 0.8155 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003377/1.848, allocations: 6.362 MB / 0.8217 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.85, allocations: 1.815 MB / 0.8235 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/1.853, allocations: 1.47 MB / 0.8249 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.301e-05/1.853, allocations: 301.1 kB / 0.8252 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.857, allocations: 3.63 MB / 0.8288 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00603/1.863, allocations: 6.474 MB / 0.8351 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.874, allocations: 10.76 MB / 0.8456 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-05/1.875, allocations: 24 kB / 0.8456 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01851/1.893, allocations: 12.11 MB / 0.8575 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.629e-05/1.893, allocations: 49.86 kB / 0.8575 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.893, allocations: 97.67 kB / 0.8576 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/1.897, allocations: 1.587 MB / 0.8591 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/1.903, allocations: 1.67 MB / 0.8608 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/1.923, allocations: 19.64 MB / 0.88 GB, free: 82.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006127/1.929, allocations: 423.6 kB / 0.8804 GB, free: 81.93 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.93, allocations: 364 kB / 0.8807 GB, free: 81.57 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008042/1.938, allocations: 5.19 MB / 0.8858 GB, free: 76.37 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.939, allocations: 0.6327 MB / 0.8864 GB, free: 75.73 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.954, allocations: 9.355 MB / 0.8955 GB, free: 66.29 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007772/1.961, allocations: 5.872 MB / 0.9013 GB, free: 60.38 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.122e-05/1.961, allocations: 20 kB / 0.9013 GB, free: 60.36 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/1.962, allocations: 27.89 kB / 0.9013 GB, free: 60.34 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0328/1.994, allocations: 20.99 MB / 0.9218 GB, free: 39.24 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/1.994, allocations: 4 kB / 0.9218 GB, free: 39.24 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003562/1.998, allocations: 0.8706 MB / 0.9227 GB, free: 38.37 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004281/2.002, allocations: 1.642 MB / 0.9243 GB, free: 36.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005488/2.003, allocations: 124 kB / 0.9244 GB, free: 36.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/2.023, allocations: 23.22 MB / 0.9471 GB, free: 12.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/2.023, allocations: 11.94 kB / 0.9471 GB, free: 12.41 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.266/2.289, allocations: 13.74 MB / 0.9605 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004646/2.294, allocations: 1.386 MB / 0.9618 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/2.296, allocations: 105.4 kB / 0.9619 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003739/2.299, allocations: 287.6 kB / 0.9622 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/2.301, allocations: 414.2 kB / 0.9626 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004021/2.301, allocations: 150.8 kB / 0.9628 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007624/2.309, allocations: 3.881 MB / 0.9665 GB, free: 177.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.3e-07/2.309, allocations: 1 kB / 0.9665 GB, free: 177.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01156/2.32, allocations: 2.339 MB / 0.9688 GB, free: 177.6 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02325/2.343, allocations: 14.54 MB / 0.983 GB, free: 174.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01468/2.358, allocations: 9.895 MB / 0.9927 GB, free: 170 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/2.358, allocations: 0 / 0.9927 GB, free: 170 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008774/2.367, allocations: 5.455 MB / 0.998 GB, free: 167.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008602/2.376, allocations: 1.622 MB / 0.9996 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1345/2.51, allocations: 80.26 MB / 1.078 GB, free: 94.87 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/2.525, allocations: 8.852 MB / 1.087 GB, free: 85.97 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007638/2.533, allocations: 2.531 MB / 1.089 GB, free: 83.43 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008093/2.541, allocations: 5.162 MB / 1.094 GB, free: 78.27 MB / 0.5607 GB Notification: Performance of SimCode: time 8.22e-07/2.541, allocations: 0 / 1.094 GB, free: 78.27 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5033/3.045, allocations: 187.3 MB / 1.277 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.43/27.48, allocations: 15.59 kB / 1.277 GB, free: 111.2 MB / 0.5607 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches