Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001751/0.001751, allocations: 180.8 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.259/3.259, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 78.44 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005856/0.0005857, allocations: 11.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5019, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.7291, allocations: 109.4 MB / 485.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004969/0.7297, allocations: 91.95 kB / 485.2 MB, free: 3.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5885/1.318, allocations: 51.84 MB / 0.5244 GB, free: 93.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.372e-06/1.318, allocations: 3.984 kB / 0.5244 GB, free: 93.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004478/1.319, allocations: 59.88 kB / 0.5245 GB, free: 93.12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01336/1.332, allocations: 2.738 MB / 0.5272 GB, free: 90.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/1.332, allocations: 8.031 kB / 0.5272 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/1.335, allocations: 329.2 kB / 0.5275 GB, free: 89.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008163/1.343, allocations: 1.859 MB / 0.5293 GB, free: 88.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/1.343, allocations: 148.4 kB / 0.5294 GB, free: 87.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/1.345, allocations: 204.3 kB / 0.5296 GB, free: 87.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/1.358, allocations: 2.693 MB / 0.5323 GB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/1.358, allocations: 11.89 kB / 0.5323 GB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/1.359, allocations: 84 kB / 0.5324 GB, free: 84.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/1.359, allocations: 95.88 kB / 0.5325 GB, free: 84.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/1.37, allocations: 2.186 MB / 0.5346 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03313/1.403, allocations: 8.326 MB / 0.5427 GB, free: 74.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00586/1.409, allocations: 1.681 MB / 0.5444 GB, free: 72.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003469/1.412, allocations: 1.026 MB / 0.5454 GB, free: 71.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/1.413, allocations: 136.8 kB / 0.5455 GB, free: 71.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.413, allocations: 55.56 kB / 0.5455 GB, free: 71.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 7.144e-06/1.413, allocations: 0 / 0.5455 GB, free: 71.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.0285/1.442, allocations: 6.576 MB / 0.552 GB, free: 64.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.442, allocations: 64.72 kB / 0.552 GB, free: 64.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/1.449, allocations: 2.109 MB / 0.5541 GB, free: 62.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000516/1.45, allocations: 45.7 kB / 0.5541 GB, free: 62.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.451, allocations: 1.099 MB / 0.5552 GB, free: 61.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/1.452, allocations: 467.9 kB / 0.5557 GB, free: 60.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/1.452, allocations: 24 kB / 0.5557 GB, free: 60.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/1.452, allocations: 365.9 kB / 0.556 GB, free: 60.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/1.455, allocations: 0.7613 MB / 0.5568 GB, free: 59.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.458, allocations: 1.021 MB / 0.5578 GB, free: 58.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/1.463, allocations: 1.877 MB / 0.5596 GB, free: 56.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.463, allocations: 8 kB / 0.5596 GB, free: 56.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.009124/1.473, allocations: 2.827 MB / 0.5624 GB, free: 53.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/1.473, allocations: 8 kB / 0.5624 GB, free: 53.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/1.473, allocations: 8.25 kB / 0.5624 GB, free: 53.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/1.477, allocations: 0.8385 MB / 0.5632 GB, free: 52.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.479, allocations: 275.6 kB / 0.5635 GB, free: 52.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/1.498, allocations: 9.328 MB / 0.5726 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/1.502, allocations: 88.09 kB / 0.5727 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006197/1.503, allocations: 55.98 kB / 0.5727 GB, free: 42.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003682/1.506, allocations: 0.7559 MB / 0.5735 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/1.508, allocations: 205.6 kB / 0.5736 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008671/1.517, allocations: 2.586 MB / 0.5762 GB, free: 39.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/1.517, allocations: 19.94 kB / 0.5762 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/1.517, allocations: 4 kB / 0.5762 GB, free: 39.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/1.517, allocations: 7.969 kB / 0.5762 GB, free: 39.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.534, allocations: 5.112 MB / 0.5812 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/1.534, allocations: 4 kB / 0.5812 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/1.536, allocations: 219.6 kB / 0.5814 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/1.539, allocations: 0.7127 MB / 0.5821 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.539, allocations: 39.97 kB / 0.5821 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.553, allocations: 8.491 MB / 0.5904 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.553, allocations: 4.031 kB / 0.5904 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.563, allocations: 3.648 MB / 0.594 GB, free: 20.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.565, allocations: 474.4 kB / 0.5945 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000906/1.566, allocations: 39.94 kB / 0.5945 GB, free: 19.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.569, allocations: 91.89 kB / 0.5946 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/1.569, allocations: 113.1 kB / 0.5947 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/1.569, allocations: 43.97 kB / 0.5947 GB, free: 19.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004288/1.574, allocations: 1.469 MB / 0.5962 GB, free: 18.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.574, allocations: 0 / 0.5962 GB, free: 18.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004407/1.578, allocations: 0.5936 MB / 0.5967 GB, free: 17.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/1.58, allocations: 0.6048 MB / 0.5973 GB, free: 16.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007191/1.587, allocations: 2.506 MB / 0.5998 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.588, allocations: 1.25 kB / 0.5998 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.592, allocations: 1.749 MB / 0.6015 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/1.598, allocations: 426.4 kB / 0.6019 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/1.614, allocations: 6.165 MB / 0.6079 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/1.617, allocations: 1.94 MB / 0.6098 GB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.619, allocations: 147.4 kB / 0.61 GB, free: 3.715 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/1.619, allocations: 0 / 0.61 GB, free: 3.715 MB / 378.7 MB Notification: Performance of Templates: time 0.5268/2.145, allocations: 64.56 MB / 0.673 GB, free: 108.4 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches