Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008612/0.008612, allocations: 96.61 kB / 15.73 MB, free: 6.039 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.002313/0.002313, allocations: 201 kB / 16.68 MB, free: 5.969 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.001255/0.001255, allocations: 55.05 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1285, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04237/0.1709, allocations: 38.35 MB / 411.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02707/0.198, allocations: 10.01 MB / 421.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01164/0.2097, allocations: 247.1 kB / 421.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02657/0.2364, allocations: 10.17 MB / 432 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0183/0.2547, allocations: 4.098 MB / 436.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009812/0.2645, allocations: 2.409 MB / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5881/0.8527, allocations: 16.52 MB / 455 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05145/0.9042, allocations: 31.19 MB / 486.2 MB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.9212, allocations: 8.854 MB / 495.1 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01916/0.9404, allocations: 9.434 MB / 0.4927 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01036/0.9508, allocations: 2.426 MB / 0.495 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.9626, allocations: 2.822 MB / 0.4978 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008272/0.9709, allocations: 4.866 MB / 0.5025 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02109/0.9921, allocations: 9.318 MB / 0.5116 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04822/1.04, allocations: 32.21 MB / 0.5431 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.04, allocations: 0 / 0.5431 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/1.04, allocations: 0 / 0.5431 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00118/1.042, allocations: 0 / 0.5431 GB, free: 10.25 MB / 446.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.06808/1.11, allocations: 19.2 MB / 0.5619 GB, free: 7.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.11, allocations: 12.03 kB / 0.5619 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05247/1.162, allocations: 9.354 MB / 0.571 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/1.186, allocations: 9.232 MB / 0.58 GB, free: 4.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/1.187, allocations: 1.073 MB / 0.5811 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007125/1.194, allocations: 1.412 MB / 0.5824 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06803/1.262, allocations: 23.2 MB / 0.6051 GB, free: 11.22 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006496/1.263, allocations: 19.91 kB / 0.6051 GB, free: 11.2 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00629/1.269, allocations: 0.5852 MB / 0.6057 GB, free: 10.63 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008507/1.27, allocations: 0.8071 MB / 0.6065 GB, free: 9.82 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04756/1.318, allocations: 21.69 MB / 0.6277 GB, free: 4.125 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4336/1.751, allocations: 73.43 MB / 0.6994 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03355/1.785, allocations: 53.56 MB / 0.7517 GB, free: 66.68 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008917/1.794, allocations: 5.343 MB / 0.7569 GB, free: 62.61 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03198/1.826, allocations: 15.45 MB / 0.772 GB, free: 47.36 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.181e-05/1.826, allocations: 94.69 kB / 0.7721 GB, free: 47.26 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 6.983e-06/1.826, allocations: 0 / 0.7721 GB, free: 47.26 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.05997/1.886, allocations: 27.26 MB / 0.7987 GB, free: 20.26 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.886, allocations: 133.3 kB / 0.7988 GB, free: 20.11 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.897, allocations: 5.908 MB / 0.8046 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009759/1.898, allocations: 109.7 kB / 0.8047 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003526/1.901, allocations: 6.504 MB / 0.811 GB, free: 8.203 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.903, allocations: 1.822 MB / 0.8128 GB, free: 6.402 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00413/1.907, allocations: 1.533 MB / 0.8143 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/1.908, allocations: 309.1 kB / 0.8146 GB, free: 4.559 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005803/1.913, allocations: 3.689 MB / 0.8182 GB, free: 0.8672 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00898/1.922, allocations: 6.769 MB / 0.8248 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3298/2.252, allocations: 11.14 MB / 0.8357 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002411/2.252, allocations: 33.72 kB / 0.8357 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.03106/2.284, allocations: 12.42 MB / 0.8479 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/2.284, allocations: 53.75 kB / 0.8479 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/2.284, allocations: 100.4 kB / 0.848 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00438/2.288, allocations: 1.596 MB / 0.8496 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007298/2.296, allocations: 1.746 MB / 0.8513 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/2.322, allocations: 19.64 MB / 0.8705 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008528/2.33, allocations: 438.5 kB / 0.8709 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/2.332, allocations: 393.9 kB / 0.8713 GB, free: 148.9 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.01368/2.346, allocations: 5.252 MB / 0.8764 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002882/2.349, allocations: 0.64 MB / 0.877 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/2.366, allocations: 9.362 MB / 0.8862 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01039/2.376, allocations: 5.875 MB / 0.8919 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001421/2.376, allocations: 22.59 kB / 0.8919 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001329/2.377, allocations: 32.3 kB / 0.892 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05093/2.428, allocations: 21.08 MB / 0.9125 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/2.428, allocations: 4.781 kB / 0.9125 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004/2.432, allocations: 0.8698 MB / 0.9134 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004772/2.436, allocations: 1.635 MB / 0.915 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001131/2.438, allocations: 135.4 kB / 0.9151 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02459/2.462, allocations: 23.22 MB / 0.9378 GB, free: 96.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/2.462, allocations: 11.94 kB / 0.9378 GB, free: 96.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02725/2.49, allocations: 13.76 MB / 0.9512 GB, free: 82.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00546/2.495, allocations: 1.397 MB / 0.9526 GB, free: 81.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003441/2.499, allocations: 100 kB / 0.9527 GB, free: 81.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005743/2.504, allocations: 291.7 kB / 0.953 GB, free: 81.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001962/2.506, allocations: 412.3 kB / 0.9534 GB, free: 80.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001072/2.507, allocations: 152 kB / 0.9535 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009385/2.517, allocations: 3.969 MB / 0.9574 GB, free: 76.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.213e-06/2.517, allocations: 0 / 0.9574 GB, free: 76.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01451/2.531, allocations: 2.363 MB / 0.9597 GB, free: 74.16 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.001918/2.533, allocations: 324 kB / 0.96 GB, free: 73.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0184/2.552, allocations: 10.03 MB / 0.9698 GB, free: 63.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/2.552, allocations: 0 / 0.9698 GB, free: 63.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/2.562, allocations: 5.467 MB / 0.9751 GB, free: 58.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01368/2.576, allocations: 1.646 MB / 0.9768 GB, free: 56.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05832/2.634, allocations: 25.33 MB / 1.001 GB, free: 31.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01755/2.652, allocations: 8.926 MB / 1.01 GB, free: 22.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01232/2.664, allocations: 2.599 MB / 1.013 GB, free: 19.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/2.667, allocations: 471.3 kB / 1.013 GB, free: 19.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.422e-06/2.667, allocations: 0 / 1.013 GB, free: 19.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.5091/3.177, allocations: 97.9 MB / 1.109 GB, free: 109.4 MB / 0.5294 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)