Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001542/0.001542, allocations: 113.2 kB / 16.62 MB, free: 6.805 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.001622/0.001622, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.457/1.457, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.002013/0.002012, allocations: 43.94 kB / 279.5 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1471, allocations: 46.63 MB / 326.2 MB, free: 4.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0429/0.1901, allocations: 37.66 MB / 363.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02952/0.2196, allocations: 9.869 MB / 373.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01351/0.2332, allocations: 239.1 kB / 373.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2868/0.5201, allocations: 9.567 MB / 383.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01911/0.5393, allocations: 3.689 MB / 387.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008768/0.548, allocations: 2.23 MB / 389.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02873/0.5768, allocations: 16.62 MB / 406 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06491/0.6418, allocations: 35.39 MB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01848/0.6603, allocations: 8.492 MB / 449.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01946/0.6798, allocations: 9.503 MB / 459.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009599/0.6894, allocations: 2.422 MB / 461.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01583/0.7053, allocations: 2.823 MB / 464.7 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0116/0.717, allocations: 4.876 MB / 469.5 MB, free: 344 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02578/0.7428, allocations: 9.275 MB / 478.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04766/0.7905, allocations: 31.92 MB / 0.4988 GB, free: 7.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.7905, allocations: 0 / 0.4988 GB, free: 7.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.7905, allocations: 0 / 0.4988 GB, free: 7.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001129/0.7917, allocations: 7.938 kB / 0.4988 GB, free: 7.691 MB / 414.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.07274/0.8644, allocations: 18.93 MB / 0.5173 GB, free: 4.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.8645, allocations: 8.031 kB / 0.5173 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05232/0.9169, allocations: 9.231 MB / 0.5263 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02566/0.9426, allocations: 9.108 MB / 0.5352 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001491/0.9441, allocations: 1.077 MB / 0.5362 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009316/0.9534, allocations: 1.426 MB / 0.5376 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4273/1.381, allocations: 23.22 MB / 0.5603 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007842/1.382, allocations: 21.83 kB / 0.5603 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005518/1.387, allocations: 0.5875 MB / 0.5609 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008185/1.388, allocations: 0.8028 MB / 0.5617 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04865/1.437, allocations: 21.7 MB / 0.5829 GB, free: 115.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1346/1.571, allocations: 74.18 MB / 0.6553 GB, free: 40.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03692/1.608, allocations: 53.59 MB / 0.7076 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01126/1.62, allocations: 5.425 MB / 0.7129 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2885/1.908, allocations: 15.59 MB / 0.7282 GB, free: 150.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/1.908, allocations: 93.38 kB / 0.7283 GB, free: 150.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.174e-06/1.908, allocations: 3.375 kB / 0.7283 GB, free: 150.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.05759/1.966, allocations: 26.84 MB / 0.7545 GB, free: 138.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.966, allocations: 127.5 kB / 0.7546 GB, free: 138.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0086/1.975, allocations: 5.9 MB / 0.7604 GB, free: 136.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001134/1.976, allocations: 116.2 kB / 0.7605 GB, free: 136.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003525/1.979, allocations: 6.289 MB / 0.7666 GB, free: 131.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.981, allocations: 1.754 MB / 0.7683 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/1.984, allocations: 1.532 MB / 0.7698 GB, free: 129.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/1.984, allocations: 301.1 kB / 0.7701 GB, free: 129.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/1.989, allocations: 3.724 MB / 0.7737 GB, free: 128.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006911/1.996, allocations: 6.81 MB / 0.7804 GB, free: 122.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/2.009, allocations: 11.22 MB / 0.7913 GB, free: 114.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/2.009, allocations: 36.09 kB / 0.7914 GB, free: 114.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02182/2.031, allocations: 12.47 MB / 0.8036 GB, free: 103.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/2.031, allocations: 51.94 kB / 0.8036 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/2.031, allocations: 100 kB / 0.8037 GB, free: 103 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/2.035, allocations: 1.615 MB / 0.8053 GB, free: 101.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/2.042, allocations: 1.747 MB / 0.807 GB, free: 99.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/2.06, allocations: 19.64 MB / 0.8262 GB, free: 79.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00739/2.068, allocations: 439.4 kB / 0.8266 GB, free: 78.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.07, allocations: 388 kB / 0.827 GB, free: 78.51 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.01288/2.082, allocations: 5.251 MB / 0.8321 GB, free: 73.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002722/2.085, allocations: 0.6097 MB / 0.8327 GB, free: 72.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/2.108, allocations: 9.461 MB / 0.8419 GB, free: 63.08 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01014/2.118, allocations: 5.959 MB / 0.8477 GB, free: 57.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/2.118, allocations: 23.98 kB / 0.8478 GB, free: 57.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/2.118, allocations: 27.84 kB / 0.8478 GB, free: 57.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04067/2.159, allocations: 21.23 MB / 0.8685 GB, free: 35.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/2.159, allocations: 4.781 kB / 0.8685 GB, free: 35.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/2.163, allocations: 0.8698 MB / 0.8694 GB, free: 34.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004429/2.167, allocations: 1.639 MB / 0.871 GB, free: 33.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009565/2.168, allocations: 132 kB / 0.8711 GB, free: 33.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2732/2.441, allocations: 23.21 MB / 0.8938 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/2.441, allocations: 9.781 kB / 0.8938 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02629/2.468, allocations: 13.86 MB / 0.9073 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005364/2.473, allocations: 1.369 MB / 0.9086 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002583/2.476, allocations: 104.3 kB / 0.9087 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004979/2.481, allocations: 290.8 kB / 0.909 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/2.482, allocations: 414.2 kB / 0.9094 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000459/2.483, allocations: 154 kB / 0.9096 GB, free: 129.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009305/2.492, allocations: 3.968 MB / 0.9134 GB, free: 127.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/2.492, allocations: 0 / 0.9134 GB, free: 127.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01342/2.505, allocations: 2.376 MB / 0.9158 GB, free: 127.5 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.002001/2.508, allocations: 318.2 kB / 0.9161 GB, free: 127.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03743/2.545, allocations: 16.26 MB / 0.9319 GB, free: 123 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/2.545, allocations: 1.781 kB / 0.9319 GB, free: 123 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01176/2.557, allocations: 5.491 MB / 0.9373 GB, free: 120.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/2.571, allocations: 1.644 MB / 0.9389 GB, free: 119.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06305/2.634, allocations: 31.32 MB / 0.9695 GB, free: 93.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02036/2.654, allocations: 8.931 MB / 0.9782 GB, free: 86.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01041/2.665, allocations: 2.591 MB / 0.9807 GB, free: 85.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/2.667, allocations: 476.3 kB / 0.9812 GB, free: 84.62 MB / 478.1 MB Notification: Performance of SimCode: time 1.603e-06/2.667, allocations: 0 / 0.9812 GB, free: 84.62 MB / 478.1 MB Notification: Performance of Templates: time 0.4467/3.114, allocations: 103.2 MB / 1.082 GB, free: 122.8 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)