Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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.001559/0.001559, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001514/0.001514, allocations: 187 kB / 18.67 MB, free: 4.402 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.503/1.503, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001908/0.001908, allocations: 59.92 kB / 328.1 MB, free: 3.75 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1137, allocations: 46.62 MB / 374.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2716/0.3853, allocations: 38.36 MB / 413.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02689/0.4123, allocations: 10.01 MB / 423.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/0.425, allocations: 247.6 kB / 423.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.026/0.4511, allocations: 10.18 MB / 433.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.4686, allocations: 4.088 MB / 437.6 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008414/0.477, allocations: 2.411 MB / 440 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02618/0.5032, allocations: 16.53 MB / 456.5 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05165/0.5549, allocations: 31.19 MB / 487.7 MB, free: 14.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01775/0.5727, allocations: 8.536 MB / 496.2 MB, free: 6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01835/0.5911, allocations: 9.421 MB / 0.4938 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007962/0.5991, allocations: 2.43 MB / 0.4962 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.6102, allocations: 2.816 MB / 0.4989 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009096/0.6193, allocations: 4.871 MB / 0.5037 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02413/0.6435, allocations: 9.284 MB / 0.5127 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05131/0.6948, allocations: 32.2 MB / 0.5442 GB, free: 8.793 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.6949, allocations: 4 kB / 0.5442 GB, free: 8.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6949, allocations: 0 / 0.5442 GB, free: 8.789 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001018/0.6959, allocations: 0 / 0.5442 GB, free: 8.789 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.5842/1.28, allocations: 19.19 MB / 0.5629 GB, free: 91.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/1.28, allocations: 13.61 kB / 0.563 GB, free: 91.85 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01114/1.291, allocations: 2.328 MB / 0.5652 GB, free: 91.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05496/1.346, allocations: 9.356 MB / 0.5744 GB, free: 90.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/1.37, allocations: 9.228 MB / 0.5834 GB, free: 84.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001702/1.372, allocations: 1.07 MB / 0.5844 GB, free: 83.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008282/1.38, allocations: 1.409 MB / 0.5858 GB, free: 82.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06696/1.447, allocations: 23.22 MB / 0.6085 GB, free: 59.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001121/1.448, allocations: 30.64 kB / 0.6085 GB, free: 59.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007017/1.455, allocations: 0.5827 MB / 0.6091 GB, free: 58.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000855/1.456, allocations: 0.8071 MB / 0.6099 GB, free: 57.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04449/1.501, allocations: 21.69 MB / 0.631 GB, free: 35.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1332/1.634, allocations: 73.42 MB / 0.7027 GB, free: 10.82 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05322/1.687, allocations: 53.56 MB / 0.755 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01017/1.697, allocations: 5.351 MB / 0.7603 GB, free: 9.602 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2759/1.973, allocations: 15.45 MB / 0.7753 GB, free: 223.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/1.973, allocations: 87.16 kB / 0.7754 GB, free: 223.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.153e-06/1.973, allocations: 1.094 kB / 0.7754 GB, free: 223.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.07287/2.046, allocations: 27.27 MB / 0.8021 GB, free: 214.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/2.046, allocations: 130 kB / 0.8022 GB, free: 214.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/2.059, allocations: 5.914 MB / 0.808 GB, free: 212.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/2.06, allocations: 109.3 kB / 0.8081 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004862/2.065, allocations: 6.502 MB / 0.8144 GB, free: 208.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002805/2.067, allocations: 1.82 MB / 0.8162 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003155/2.071, allocations: 1.533 MB / 0.8177 GB, free: 205.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/2.071, allocations: 309.1 kB / 0.818 GB, free: 205.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007438/2.078, allocations: 3.688 MB / 0.8216 GB, free: 204.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009679/2.088, allocations: 6.774 MB / 0.8282 GB, free: 198.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/2.106, allocations: 11.14 MB / 0.8391 GB, free: 188.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/2.106, allocations: 32.88 kB / 0.8391 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02908/2.135, allocations: 12.42 MB / 0.8512 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/2.135, allocations: 48.59 kB / 0.8513 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002732/2.135, allocations: 103.9 kB / 0.8514 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/2.14, allocations: 1.607 MB / 0.853 GB, free: 175.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006704/2.147, allocations: 1.74 MB / 0.8547 GB, free: 173.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/2.168, allocations: 19.66 MB / 0.8739 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008096/2.176, allocations: 439.4 kB / 0.8743 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/2.178, allocations: 396.8 kB / 0.8746 GB, free: 152.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.01214/2.19, allocations: 5.242 MB / 0.8798 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002644/2.193, allocations: 0.6365 MB / 0.8804 GB, free: 146.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/2.207, allocations: 9.371 MB / 0.8895 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007889/2.215, allocations: 5.872 MB / 0.8953 GB, free: 131.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/2.215, allocations: 23.94 kB / 0.8953 GB, free: 131.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.198e-05/2.215, allocations: 27.89 kB / 0.8953 GB, free: 131.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03389/2.249, allocations: 21.09 MB / 0.9159 GB, free: 110 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/2.249, allocations: 8 kB / 0.9159 GB, free: 110 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/2.253, allocations: 0.8586 MB / 0.9168 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004297/2.257, allocations: 1.632 MB / 0.9184 GB, free: 107.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007169/2.258, allocations: 124 kB / 0.9185 GB, free: 107.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/2.278, allocations: 23.23 MB / 0.9412 GB, free: 83.22 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/2.278, allocations: 17.7 kB / 0.9412 GB, free: 83.21 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/2.297, allocations: 13.76 MB / 0.9546 GB, free: 69.08 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003607/2.301, allocations: 1.395 MB / 0.956 GB, free: 67.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.302, allocations: 112 kB / 0.9561 GB, free: 67.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/2.305, allocations: 279.7 kB / 0.9563 GB, free: 67.28 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009474/2.306, allocations: 404.4 kB / 0.9567 GB, free: 66.89 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/2.307, allocations: 155.9 kB / 0.9569 GB, free: 66.73 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005862/2.312, allocations: 3.969 MB / 0.9608 GB, free: 62.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.62e-07/2.312, allocations: 7.938 kB / 0.9608 GB, free: 62.79 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01086/2.323, allocations: 2.371 MB / 0.9631 GB, free: 60.42 MB / 0.5763 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.01949/2.343, allocations: 14.54 MB / 0.9773 GB, free: 45.52 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2642/2.607, allocations: 10.02 MB / 0.9871 GB, free: 224 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/2.607, allocations: 5.531 kB / 0.9871 GB, free: 224 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01098/2.618, allocations: 5.466 MB / 0.9924 GB, free: 223.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009603/2.628, allocations: 1.641 MB / 0.994 GB, free: 222.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1429/2.771, allocations: 82.05 MB / 1.074 GB, free: 164.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01456/2.785, allocations: 8.926 MB / 1.083 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008072/2.793, allocations: 2.599 MB / 1.085 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008957/2.802, allocations: 5.205 MB / 1.09 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/2.802, allocations: 0 / 1.09 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6345/3.437, allocations: 189.3 MB / 1.275 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.81/31.25, allocations: 448 / 1.275 GB, free: 152.7 MB / 0.5763 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches