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.001529/0.001529, allocations: 98.61 kB / 17.72 MB, free: 5.363 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.001888/0.001887, allocations: 187.1 kB / 18.66 MB, free: 4.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.371/1.371, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001259/0.001259, allocations: 48.36 kB / 328.1 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08314, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2127/0.2959, allocations: 38.37 MB / 413 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02737/0.3233, allocations: 10 MB / 423 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009169/0.3325, allocations: 251.1 kB / 423.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02444/0.357, allocations: 10.18 MB / 433.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01881/0.3758, allocations: 4.082 MB / 437.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008459/0.3843, allocations: 2.42 MB / 440 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02359/0.4079, allocations: 16.53 MB / 456.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05355/0.4615, allocations: 31.19 MB / 487.7 MB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/0.4774, allocations: 8.579 MB / 496.3 MB, free: 5.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01777/0.4952, allocations: 9.417 MB / 0.4938 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007319/0.5026, allocations: 2.426 MB / 0.4962 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.5126, allocations: 2.82 MB / 0.499 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008217/0.5209, allocations: 4.875 MB / 0.5037 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01801/0.5389, allocations: 9.28 MB / 0.5128 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0427/0.5816, allocations: 32.12 MB / 0.5442 GB, free: 8.883 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.5817, allocations: 0 / 0.5442 GB, free: 8.883 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5817, allocations: 0 / 0.5442 GB, free: 8.883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001115/0.5829, allocations: 0 / 0.5442 GB, free: 8.883 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.5419/1.125, allocations: 18.85 MB / 0.5626 GB, free: 132.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.125, allocations: 13.67 kB / 0.5626 GB, free: 132.4 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009042/1.134, allocations: 2.318 MB / 0.5648 GB, free: 131.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05537/1.189, allocations: 9.289 MB / 0.5739 GB, free: 128.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/1.216, allocations: 9.192 MB / 0.5829 GB, free: 122.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/1.217, allocations: 1.069 MB / 0.5839 GB, free: 121.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00763/1.225, allocations: 1.418 MB / 0.5853 GB, free: 120.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06817/1.293, allocations: 23.21 MB / 0.608 GB, free: 97.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009107/1.294, allocations: 27.69 kB / 0.608 GB, free: 97.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006617/1.301, allocations: 0.5811 MB / 0.6086 GB, free: 96.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007378/1.302, allocations: 0.8071 MB / 0.6094 GB, free: 95.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04442/1.346, allocations: 21.69 MB / 0.6306 GB, free: 74.24 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/1.466, allocations: 73.23 MB / 0.7021 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05028/1.516, allocations: 53.56 MB / 0.7544 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2812/1.797, allocations: 5.347 MB / 0.7596 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03519/1.833, allocations: 15.42 MB / 0.7746 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/1.833, allocations: 89.58 kB / 0.7747 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 6.642e-06/1.833, allocations: 3.375 kB / 0.7747 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.06511/1.898, allocations: 26.96 MB / 0.8011 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.898, allocations: 128.7 kB / 0.8012 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008553/1.907, allocations: 5.901 MB / 0.8069 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008002/1.907, allocations: 110.9 kB / 0.807 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002744/1.91, allocations: 6.29 MB / 0.8132 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/1.912, allocations: 1.742 MB / 0.8149 GB, free: 156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/1.914, allocations: 1.523 MB / 0.8164 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/1.914, allocations: 301.1 kB / 0.8167 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/1.918, allocations: 3.682 MB / 0.8203 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/1.924, allocations: 6.777 MB / 0.8269 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.936, allocations: 11.14 MB / 0.8378 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.936, allocations: 29.03 kB / 0.8378 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02309/1.959, allocations: 12.4 MB / 0.8499 GB, free: 118 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/1.959, allocations: 52 kB / 0.85 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002139/1.96, allocations: 100 kB / 0.85 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004661/1.964, allocations: 1.606 MB / 0.8516 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007079/1.971, allocations: 1.743 MB / 0.8533 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/1.993, allocations: 19.62 MB / 0.8725 GB, free: 94.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006848/2, allocations: 451.2 kB / 0.8729 GB, free: 93.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/2.002, allocations: 384 kB / 0.8733 GB, free: 93.37 MB / 0.5294 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.009795/2.012, allocations: 5.262 MB / 0.8784 GB, free: 88.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/2.014, allocations: 0.6019 MB / 0.879 GB, free: 87.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/2.029, allocations: 9.372 MB / 0.8882 GB, free: 78.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007769/2.037, allocations: 5.868 MB / 0.8939 GB, free: 72.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-05/2.037, allocations: 20.12 kB / 0.8939 GB, free: 72.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-05/2.037, allocations: 23.91 kB / 0.8939 GB, free: 72.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03663/2.074, allocations: 21.08 MB / 0.9145 GB, free: 50.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/2.074, allocations: 12.12 kB / 0.9145 GB, free: 50.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/2.077, allocations: 0.8581 MB / 0.9154 GB, free: 50.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004345/2.082, allocations: 1.644 MB / 0.917 GB, free: 48.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000692/2.083, allocations: 120 kB / 0.9171 GB, free: 48.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/2.104, allocations: 23.21 MB / 0.9397 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/2.104, allocations: 8 kB / 0.9398 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3327/2.437, allocations: 13.72 MB / 0.9532 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005808/2.443, allocations: 1.365 MB / 0.9545 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/2.445, allocations: 106.5 kB / 0.9546 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00458/2.449, allocations: 288.9 kB / 0.9549 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.451, allocations: 405.7 kB / 0.9553 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003897/2.451, allocations: 155 kB / 0.9554 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007597/2.459, allocations: 3.967 MB / 0.9593 GB, free: 162 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/2.459, allocations: 0 / 0.9593 GB, free: 162 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01101/2.47, allocations: 2.377 MB / 0.9616 GB, free: 162 MB / 0.5294 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.02218/2.492, allocations: 14.5 MB / 0.9758 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01393/2.506, allocations: 10.01 MB / 0.9855 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/2.506, allocations: 8.328 kB / 0.9855 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007772/2.514, allocations: 5.449 MB / 0.9909 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007711/2.521, allocations: 1.641 MB / 0.9925 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1295/2.651, allocations: 81.63 MB / 1.072 GB, free: 77.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01394/2.665, allocations: 8.93 MB / 1.081 GB, free: 68.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00846/2.673, allocations: 2.591 MB / 1.083 GB, free: 65.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009223/2.683, allocations: 5.201 MB / 1.089 GB, free: 60.27 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/2.683, allocations: 4 kB / 1.089 GB, free: 60.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.389/4.072, allocations: 189.7 MB / 1.274 GB, free: 88.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.68/31.75, allocations: 12.03 kB / 1.274 GB, free: 88.93 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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