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.001143/0.001142, allocations: 108.1 kB / 17.15 MB, free: 6.305 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.001003/0.001003, allocations: 198 kB / 18.07 MB, free: 5.41 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.444/1.444, allocations: 205.1 MB / 223.9 MB, free: 12.37 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.001226/0.001226, allocations: 43.94 kB / 280 MB, free: 3.551 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 46.63 MB / 326.6 MB, free: 4.855 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0371/0.1455, allocations: 37.65 MB / 364.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.172, allocations: 9.912 MB / 374.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01082/0.1828, allocations: 235.1 kB / 374.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2483/0.4313, allocations: 9.562 MB / 384 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01788/0.4492, allocations: 3.734 MB / 387.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008571/0.4577, allocations: 2.233 MB / 389.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0294/0.4872, allocations: 16.85 MB / 406.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04825/0.5355, allocations: 25.5 MB / 432.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02097/0.5565, allocations: 7.233 MB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/0.5737, allocations: 8.912 MB / 448.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008588/0.5823, allocations: 1.539 MB / 450 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.5948, allocations: 1.934 MB / 451.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01111/0.6059, allocations: 3.95 MB / 455.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02408/0.63, allocations: 8.335 MB / 464.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04548/0.6756, allocations: 31.32 MB / 495.5 MB, free: 6.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6756, allocations: 0 / 495.5 MB, free: 6.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6756, allocations: 0 / 495.5 MB, free: 6.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001043/0.6767, allocations: 0 / 495.5 MB, free: 6.547 MB / 398.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.07373/0.7504, allocations: 18.92 MB / 0.5024 GB, free: 3.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/0.7505, allocations: 15.97 kB / 0.5024 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05393/0.8045, allocations: 9.239 MB / 0.5114 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02685/0.8314, allocations: 9.104 MB / 0.5203 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00203/0.8335, allocations: 1.079 MB / 0.5214 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01154/0.845, allocations: 1.413 MB / 0.5227 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.485/1.33, allocations: 23.22 MB / 0.5454 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001078/1.331, allocations: 21.59 kB / 0.5454 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007151/1.338, allocations: 0.5864 MB / 0.546 GB, free: 126.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001779/1.34, allocations: 0.8036 MB / 0.5468 GB, free: 126.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05487/1.395, allocations: 21.71 MB / 0.568 GB, free: 118 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1486/1.544, allocations: 74.18 MB / 0.6404 GB, free: 54.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03352/1.577, allocations: 53.58 MB / 0.6928 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/1.588, allocations: 5.433 MB / 0.6981 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03693/1.625, allocations: 15.6 MB / 0.7133 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/1.626, allocations: 94.72 kB / 0.7134 GB, free: 5.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 6.352e-06/1.626, allocations: 0 / 0.7134 GB, free: 5.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.2958/1.921, allocations: 26.83 MB / 0.7396 GB, free: 144.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/1.921, allocations: 128.7 kB / 0.7397 GB, free: 144.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008603/1.93, allocations: 5.906 MB / 0.7455 GB, free: 142 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.931, allocations: 105.5 kB / 0.7456 GB, free: 141.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003549/1.935, allocations: 6.29 MB / 0.7517 GB, free: 137.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00274/1.937, allocations: 1.754 MB / 0.7534 GB, free: 135.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/1.94, allocations: 1.528 MB / 0.7549 GB, free: 135.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/1.94, allocations: 308.9 kB / 0.7552 GB, free: 134.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005688/1.946, allocations: 3.725 MB / 0.7588 GB, free: 133.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008432/1.954, allocations: 6.811 MB / 0.7655 GB, free: 128 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.967, allocations: 11.23 MB / 0.7765 GB, free: 120.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/1.967, allocations: 30.69 kB / 0.7765 GB, free: 120.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02087/1.988, allocations: 12.48 MB / 0.7887 GB, free: 115.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/1.988, allocations: 47.84 kB / 0.7887 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000198/1.989, allocations: 102.4 kB / 0.7888 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/1.993, allocations: 1.601 MB / 0.7904 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006677/2, allocations: 1.74 MB / 0.7921 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/2.021, allocations: 18.22 MB / 0.8099 GB, free: 94.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007408/2.029, allocations: 451.3 kB / 0.8103 GB, free: 93.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/2.031, allocations: 391.9 kB / 0.8107 GB, free: 93.32 MB / 478.1 MB 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.01209/2.043, allocations: 5.247 MB / 0.8158 GB, free: 88.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/2.045, allocations: 0.6019 MB / 0.8164 GB, free: 87.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/2.064, allocations: 9.467 MB / 0.8256 GB, free: 77.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008983/2.073, allocations: 5.951 MB / 0.8314 GB, free: 71.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.348e-05/2.073, allocations: 19.69 kB / 0.8315 GB, free: 71.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.992e-05/2.073, allocations: 31.89 kB / 0.8315 GB, free: 71.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/2.112, allocations: 21.22 MB / 0.8522 GB, free: 50.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/2.112, allocations: 4 kB / 0.8522 GB, free: 50.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003745/2.115, allocations: 0.8664 MB / 0.8531 GB, free: 49.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004795/2.12, allocations: 1.641 MB / 0.8547 GB, free: 48.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008844/2.121, allocations: 124 kB / 0.8548 GB, free: 47.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/2.141, allocations: 21.38 MB / 0.8757 GB, free: 25.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/2.141, allocations: 11.94 kB / 0.8757 GB, free: 25.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2758/2.416, allocations: 13.86 MB / 0.8892 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005992/2.423, allocations: 1.369 MB / 0.8906 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002706/2.425, allocations: 106.5 kB / 0.8907 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005282/2.431, allocations: 287.2 kB / 0.8909 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/2.432, allocations: 413.6 kB / 0.8913 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003875/2.432, allocations: 152.4 kB / 0.8915 GB, free: 133.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01202/2.444, allocations: 3.971 MB / 0.8953 GB, free: 133.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.312e-06/2.445, allocations: 0 / 0.8953 GB, free: 133.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01942/2.464, allocations: 2.378 MB / 0.8977 GB, free: 133.2 MB / 478.1 MB 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002128/2.466, allocations: 310 kB / 0.898 GB, free: 133.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02005/2.486, allocations: 10.07 MB / 0.9078 GB, free: 129.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/2.486, allocations: 3.969 kB / 0.9078 GB, free: 129.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01088/2.497, allocations: 5.486 MB / 0.9132 GB, free: 127.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0132/2.51, allocations: 1.554 MB / 0.9147 GB, free: 126.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0547/2.565, allocations: 31.31 MB / 0.9453 GB, free: 109.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01388/2.579, allocations: 8.927 MB / 0.954 GB, free: 106.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009542/2.589, allocations: 2.593 MB / 0.9565 GB, free: 106 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/2.591, allocations: 467.1 kB / 0.9569 GB, free: 105.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.472e-06/2.591, allocations: 0 / 0.9569 GB, free: 105.6 MB / 478.1 MB Notification: Performance of Templates: time 0.1546/2.746, allocations: 99.67 MB / 1.054 GB, free: 9.207 MB / 478.1 MB 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","../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