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.006433/0.006433, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001272/0.001272, allocations: 191 kB / 16.67 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.479/1.479, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001225/0.001225, allocations: 53.98 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04191/0.1657, allocations: 38.35 MB / 411.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0293/0.1951, allocations: 10 MB / 421.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01163/0.2068, allocations: 247.1 kB / 421.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02622/0.2331, allocations: 10.18 MB / 432 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02042/0.2535, allocations: 4.094 MB / 436.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.2639, allocations: 2.417 MB / 438.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5396/0.8036, allocations: 16.52 MB / 455 MB, free: 6.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06698/0.8706, allocations: 31.18 MB / 486.2 MB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02526/0.896, allocations: 8.891 MB / 495.1 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02198/0.918, allocations: 9.454 MB / 0.4927 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01018/0.9283, allocations: 2.426 MB / 0.4951 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.9427, allocations: 2.817 MB / 0.4978 GB, free: 5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01211/0.9548, allocations: 4.866 MB / 0.5026 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02675/0.9816, allocations: 9.281 MB / 0.5117 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0494/1.031, allocations: 32.13 MB / 0.543 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.031, allocations: 0 / 0.543 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.031, allocations: 0 / 0.543 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001155/1.032, allocations: 0 / 0.543 GB, free: 10.48 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.07166/1.104, allocations: 18.85 MB / 0.5614 GB, free: 7.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.104, allocations: 12.03 kB / 0.5615 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05485/1.159, allocations: 9.275 MB / 0.5705 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02815/1.187, allocations: 9.198 MB / 0.5795 GB, free: 5.617 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001577/1.189, allocations: 1.072 MB / 0.5805 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009553/1.198, allocations: 1.414 MB / 0.5819 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07766/1.276, allocations: 23.2 MB / 0.6046 GB, free: 11.91 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009823/1.277, allocations: 11.91 kB / 0.6046 GB, free: 11.9 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007113/1.284, allocations: 0.5893 MB / 0.6052 GB, free: 11.32 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/1.285, allocations: 0.8143 MB / 0.606 GB, free: 10.51 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05996/1.345, allocations: 21.69 MB / 0.6271 GB, free: 4.82 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4336/1.779, allocations: 73.25 MB / 0.6987 GB, free: 120.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03152/1.811, allocations: 53.56 MB / 0.751 GB, free: 67.48 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008129/1.819, allocations: 5.353 MB / 0.7562 GB, free: 63.68 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02759/1.846, allocations: 15.43 MB / 0.7713 GB, free: 48.29 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/1.846, allocations: 94.7 kB / 0.7714 GB, free: 48.18 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 6.673e-06/1.846, allocations: 0 / 0.7714 GB, free: 48.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.0555/1.902, allocations: 26.94 MB / 0.7977 GB, free: 20.91 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.902, allocations: 129.3 kB / 0.7978 GB, free: 20.77 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00825/1.91, allocations: 5.902 MB / 0.8036 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.911, allocations: 109.7 kB / 0.8037 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/1.914, allocations: 6.288 MB / 0.8098 GB, free: 8.457 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/1.916, allocations: 1.738 MB / 0.8115 GB, free: 6.734 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/1.918, allocations: 1.524 MB / 0.813 GB, free: 5.203 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/1.918, allocations: 305.1 kB / 0.8133 GB, free: 4.902 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004585/1.923, allocations: 3.689 MB / 0.8169 GB, free: 1.211 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00737/1.93, allocations: 6.773 MB / 0.8235 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3329/2.263, allocations: 11.14 MB / 0.8344 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/2.263, allocations: 31.2 kB / 0.8344 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02911/2.292, allocations: 12.4 MB / 0.8465 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/2.293, allocations: 54.47 kB / 0.8466 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/2.293, allocations: 100.3 kB / 0.8467 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/2.297, allocations: 1.604 MB / 0.8482 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007144/2.304, allocations: 1.744 MB / 0.8499 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/2.327, allocations: 19.63 MB / 0.8691 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008913/2.336, allocations: 432 kB / 0.8695 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/2.338, allocations: 390.8 kB / 0.8699 GB, free: 148.8 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.01223/2.35, allocations: 5.247 MB / 0.875 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/2.353, allocations: 0.6048 MB / 0.8756 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/2.369, allocations: 9.375 MB / 0.8847 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01054/2.38, allocations: 5.87 MB / 0.8905 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.282e-05/2.38, allocations: 23.66 kB / 0.8905 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.28e-05/2.38, allocations: 25.83 kB / 0.8905 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04024/2.42, allocations: 21.08 MB / 0.9111 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/2.421, allocations: 8 kB / 0.9111 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003828/2.424, allocations: 0.8664 MB / 0.912 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004443/2.429, allocations: 1.645 MB / 0.9136 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009812/2.43, allocations: 131.9 kB / 0.9137 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/2.451, allocations: 23.2 MB / 0.9363 GB, free: 97.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/2.451, allocations: 4 kB / 0.9364 GB, free: 97.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/2.471, allocations: 13.73 MB / 0.9498 GB, free: 83.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004558/2.476, allocations: 1.361 MB / 0.9511 GB, free: 81.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002277/2.478, allocations: 104 kB / 0.9512 GB, free: 81.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004967/2.483, allocations: 291.8 kB / 0.9515 GB, free: 81.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/2.485, allocations: 412.2 kB / 0.9519 GB, free: 80.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003545/2.485, allocations: 156 kB / 0.952 GB, free: 80.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007055/2.492, allocations: 3.965 MB / 0.9559 GB, free: 76.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/2.492, allocations: 0 / 0.9559 GB, free: 76.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01296/2.505, allocations: 2.37 MB / 0.9582 GB, free: 74.43 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.001856/2.507, allocations: 322 kB / 0.9585 GB, free: 74.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01585/2.523, allocations: 10.02 MB / 0.9683 GB, free: 64.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/2.523, allocations: 4 kB / 0.9683 GB, free: 64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008855/2.532, allocations: 5.46 MB / 0.9736 GB, free: 58.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/2.542, allocations: 1.643 MB / 0.9752 GB, free: 56.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0501/2.592, allocations: 24.94 MB / 0.9996 GB, free: 31.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01847/2.611, allocations: 8.926 MB / 1.008 GB, free: 22.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008339/2.619, allocations: 2.591 MB / 1.011 GB, free: 20.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002322/2.621, allocations: 467.4 kB / 1.011 GB, free: 19.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.382e-06/2.621, allocations: 0 / 1.011 GB, free: 19.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.4878/3.109, allocations: 97.91 MB / 1.107 GB, free: 110 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)