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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 114.5 kB / 17.73 MB, free: 5.297 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.001204/0.001204, allocations: 187 kB / 18.67 MB, free: 4.367 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.541/1.541, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001428/0.001428, allocations: 47.92 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 46.62 MB / 375.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.3113/0.4312, allocations: 38.34 MB / 413.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03027/0.4615, allocations: 10.02 MB / 423.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01392/0.4755, allocations: 251.2 kB / 423.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02801/0.5036, allocations: 10.18 MB / 434 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02422/0.5279, allocations: 4.086 MB / 438.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.5382, allocations: 2.417 MB / 440.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02771/0.5659, allocations: 16.53 MB / 457 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05857/0.6245, allocations: 31.19 MB / 488.2 MB, free: 14.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01682/0.6414, allocations: 8.536 MB / 496.7 MB, free: 5.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/0.6611, allocations: 9.417 MB / 0.4943 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009322/0.6705, allocations: 2.434 MB / 0.4967 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.6835, allocations: 2.824 MB / 0.4994 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01115/0.6947, allocations: 4.867 MB / 0.5042 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02405/0.7188, allocations: 9.28 MB / 0.5132 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05028/0.7691, allocations: 32.2 MB / 0.5447 GB, free: 8.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.7692, allocations: 4 kB / 0.5447 GB, free: 8.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7692, allocations: 0 / 0.5447 GB, free: 8.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001163/0.7704, allocations: 0 / 0.5447 GB, free: 8.445 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.6025/1.373, allocations: 19.19 MB / 0.5634 GB, free: 91.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.373, allocations: 15.31 kB / 0.5634 GB, free: 91.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05591/1.429, allocations: 9.358 MB / 0.5726 GB, free: 90.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02175/1.451, allocations: 9.222 MB / 0.5816 GB, free: 86.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00147/1.452, allocations: 1.073 MB / 0.5826 GB, free: 85.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007311/1.46, allocations: 1.415 MB / 0.584 GB, free: 84.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06797/1.527, allocations: 23.2 MB / 0.6067 GB, free: 60.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001006/1.529, allocations: 23.66 kB / 0.6067 GB, free: 60.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006513/1.535, allocations: 0.5795 MB / 0.6073 GB, free: 60.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007896/1.536, allocations: 0.8071 MB / 0.608 GB, free: 59.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04703/1.583, allocations: 21.69 MB / 0.6292 GB, free: 37.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1363/1.719, allocations: 73.43 MB / 0.7009 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04904/1.768, allocations: 53.55 MB / 0.7532 GB, free: 0.8516 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/1.779, allocations: 5.358 MB / 0.7585 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3396/2.119, allocations: 15.45 MB / 0.7736 GB, free: 224 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.824e-05/2.119, allocations: 85.89 kB / 0.7736 GB, free: 224 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.534e-06/2.119, allocations: 0 / 0.7736 GB, free: 224 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.06844/2.188, allocations: 27.27 MB / 0.8003 GB, free: 215.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/2.188, allocations: 130.8 kB / 0.8004 GB, free: 215.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/2.198, allocations: 5.908 MB / 0.8062 GB, free: 213.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001334/2.199, allocations: 109.4 kB / 0.8063 GB, free: 213.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004627/2.204, allocations: 6.505 MB / 0.8126 GB, free: 209.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002706/2.207, allocations: 1.825 MB / 0.8144 GB, free: 207.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/2.21, allocations: 1.526 MB / 0.8159 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/2.21, allocations: 306 kB / 0.8162 GB, free: 206.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005477/2.215, allocations: 3.69 MB / 0.8198 GB, free: 205.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007285/2.223, allocations: 6.774 MB / 0.8264 GB, free: 200 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/2.235, allocations: 11.14 MB / 0.8373 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/2.236, allocations: 31.94 kB / 0.8373 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02287/2.259, allocations: 12.43 MB / 0.8495 GB, free: 178.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/2.259, allocations: 48 kB / 0.8495 GB, free: 178.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/2.259, allocations: 100 kB / 0.8496 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004367/2.263, allocations: 1.6 MB / 0.8512 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006993/2.27, allocations: 1.743 MB / 0.8529 GB, free: 175.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/2.291, allocations: 19.65 MB / 0.8721 GB, free: 155.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009529/2.301, allocations: 435.6 kB / 0.8725 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/2.303, allocations: 388 kB / 0.8728 GB, free: 154.3 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.009773/2.313, allocations: 5.259 MB / 0.878 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/2.314, allocations: 0.6326 MB / 0.8786 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/2.329, allocations: 9.379 MB / 0.8878 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007744/2.336, allocations: 5.872 MB / 0.8935 GB, free: 133 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/2.336, allocations: 23.75 kB / 0.8935 GB, free: 133 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-05/2.337, allocations: 23.91 kB / 0.8935 GB, free: 133 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03331/2.37, allocations: 21.07 MB / 0.9141 GB, free: 111.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/2.37, allocations: 5.984 kB / 0.9141 GB, free: 111.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/2.373, allocations: 0.8698 MB / 0.915 GB, free: 110.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004266/2.378, allocations: 1.643 MB / 0.9166 GB, free: 109.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006745/2.378, allocations: 128 kB / 0.9167 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/2.4, allocations: 23.23 MB / 0.9394 GB, free: 84.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/2.4, allocations: 8 kB / 0.9394 GB, free: 84.98 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/2.42, allocations: 13.76 MB / 0.9528 GB, free: 70.86 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003489/2.424, allocations: 1.395 MB / 0.9542 GB, free: 69.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/2.425, allocations: 107.9 kB / 0.9543 GB, free: 69.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/2.428, allocations: 287.7 kB / 0.9546 GB, free: 69.05 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008636/2.429, allocations: 409.6 kB / 0.955 GB, free: 68.65 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/2.429, allocations: 152 kB / 0.9551 GB, free: 68.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005081/2.434, allocations: 3.965 MB / 0.959 GB, free: 64.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.3e-07/2.434, allocations: 0 / 0.959 GB, free: 64.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009538/2.444, allocations: 2.367 MB / 0.9613 GB, free: 62.2 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.0009616/2.445, allocations: 320.8 kB / 0.9616 GB, free: 61.89 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01436/2.459, allocations: 10.03 MB / 0.9714 GB, free: 51.77 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.459, allocations: 4 kB / 0.9714 GB, free: 51.76 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008017/2.467, allocations: 5.472 MB / 0.9767 GB, free: 46.21 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/2.477, allocations: 1.643 MB / 0.9783 GB, free: 44.57 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3199/2.797, allocations: 25.33 MB / 1.003 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02006/2.817, allocations: 8.935 MB / 1.012 GB, free: 206.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009932/2.827, allocations: 2.593 MB / 1.014 GB, free: 206.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/2.829, allocations: 465.8 kB / 1.015 GB, free: 206.4 MB / 0.5763 GB Notification: Performance of SimCode: time 8.01e-07/2.829, allocations: 0 / 1.015 GB, free: 206.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.166/2.995, allocations: 97.91 MB / 1.11 GB, free: 122.9 MB / 0.5763 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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