Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006574/0.006574, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001359/0.001359, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.001233/0.001233, allocations: 53.61 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04043/0.1573, allocations: 38.35 MB / 411.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02773/0.1851, allocations: 10 MB / 421.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01086/0.196, allocations: 251.1 kB / 421.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02806/0.2242, allocations: 10.18 MB / 432 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01934/0.2435, allocations: 4.098 MB / 436.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009559/0.2531, allocations: 2.413 MB / 438.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5162/0.7694, allocations: 16.51 MB / 455 MB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05422/0.8236, allocations: 31.18 MB / 486.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.021/0.8447, allocations: 8.857 MB / 495.1 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0211/0.8658, allocations: 9.428 MB / 0.4927 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009384/0.8753, allocations: 2.426 MB / 0.495 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.889, allocations: 2.82 MB / 0.4978 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01152/0.9006, allocations: 4.868 MB / 0.5025 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02545/0.9261, allocations: 9.337 MB / 0.5116 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04449/0.9706, allocations: 32.14 MB / 0.543 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.9706, allocations: 0 / 0.543 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.9707, allocations: 0 / 0.543 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001045/0.9717, allocations: 0 / 0.543 GB, free: 10.3 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.06728/1.039, allocations: 18.84 MB / 0.5614 GB, free: 7.477 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.039, allocations: 8.031 kB / 0.5614 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05322/1.092, allocations: 9.292 MB / 0.5705 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02424/1.117, allocations: 9.188 MB / 0.5795 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/1.118, allocations: 1.07 MB / 0.5805 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009262/1.127, allocations: 1.419 MB / 0.5819 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1006/1.228, allocations: 23.21 MB / 0.6046 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007299/1.228, allocations: 15.89 kB / 0.6046 GB, free: 11.73 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006071/1.235, allocations: 0.5861 MB / 0.6052 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009763/1.236, allocations: 0.8149 MB / 0.606 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04947/1.285, allocations: 21.68 MB / 0.6271 GB, free: 4.648 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3861/1.671, allocations: 73.25 MB / 0.6987 GB, free: 120.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03232/1.704, allocations: 53.56 MB / 0.751 GB, free: 67.54 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007936/1.712, allocations: 5.352 MB / 0.7562 GB, free: 63.52 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02632/1.738, allocations: 15.43 MB / 0.7713 GB, free: 48.12 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.738, allocations: 86.7 kB / 0.7714 GB, free: 48.02 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 7.724e-06/1.738, allocations: 0 / 0.7714 GB, free: 48.02 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.0562/1.794, allocations: 26.94 MB / 0.7977 GB, free: 20.75 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/1.794, allocations: 129.3 kB / 0.7978 GB, free: 20.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/1.802, allocations: 5.91 MB / 0.8036 GB, free: 14.72 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.803, allocations: 105.7 kB / 0.8037 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002941/1.806, allocations: 6.285 MB / 0.8098 GB, free: 8.293 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/1.809, allocations: 1.739 MB / 0.8115 GB, free: 6.57 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002364/1.811, allocations: 1.532 MB / 0.813 GB, free: 5.031 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/1.811, allocations: 301.1 kB / 0.8133 GB, free: 4.734 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/1.816, allocations: 3.685 MB / 0.8169 GB, free: 1.047 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008556/1.825, allocations: 6.766 MB / 0.8235 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3131/2.138, allocations: 11.14 MB / 0.8344 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/2.138, allocations: 31.34 kB / 0.8344 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02817/2.166, allocations: 12.4 MB / 0.8465 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/2.166, allocations: 50 kB / 0.8466 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/2.166, allocations: 107.8 kB / 0.8467 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/2.171, allocations: 1.595 MB / 0.8482 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006242/2.177, allocations: 1.747 MB / 0.8499 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/2.197, allocations: 19.62 MB / 0.8691 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/2.203, allocations: 433.8 kB / 0.8695 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009845/2.204, allocations: 395.5 kB / 0.8699 GB, free: 149 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.01038/2.214, allocations: 5.243 MB / 0.875 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.216, allocations: 0.6066 MB / 0.8756 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/2.23, allocations: 9.374 MB / 0.8847 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00824/2.238, allocations: 5.87 MB / 0.8905 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.463e-05/2.239, allocations: 23.62 kB / 0.8905 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-05/2.239, allocations: 31.7 kB / 0.8905 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03203/2.271, allocations: 21.07 MB / 0.9111 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/2.271, allocations: 8.031 kB / 0.9111 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/2.274, allocations: 0.8659 MB / 0.912 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/2.278, allocations: 1.636 MB / 0.9136 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/2.279, allocations: 131.9 kB / 0.9137 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/2.299, allocations: 23.21 MB / 0.9364 GB, free: 96.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/2.299, allocations: 8 kB / 0.9364 GB, free: 96.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/2.32, allocations: 13.72 MB / 0.9498 GB, free: 82.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004889/2.325, allocations: 1.369 MB / 0.9511 GB, free: 81.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/2.327, allocations: 100 kB / 0.9512 GB, free: 81.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003483/2.33, allocations: 291.7 kB / 0.9515 GB, free: 81.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/2.331, allocations: 412.3 kB / 0.9519 GB, free: 80.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/2.331, allocations: 152 kB / 0.952 GB, free: 80.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006695/2.338, allocations: 3.965 MB / 0.9559 GB, free: 76.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/2.338, allocations: 4 kB / 0.9559 GB, free: 76.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01317/2.351, allocations: 2.365 MB / 0.9582 GB, free: 74.3 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.001536/2.353, allocations: 323.6 kB / 0.9585 GB, free: 74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01562/2.369, allocations: 10.02 MB / 0.9683 GB, free: 63.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/2.369, allocations: 5.938 kB / 0.9683 GB, free: 63.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008847/2.377, allocations: 5.461 MB / 0.9736 GB, free: 58.33 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01443/2.392, allocations: 1.645 MB / 0.9752 GB, free: 56.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07425/2.466, allocations: 24.94 MB / 0.9996 GB, free: 31.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02254/2.489, allocations: 8.929 MB / 1.008 GB, free: 22.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0101/2.499, allocations: 2.591 MB / 1.011 GB, free: 20.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/2.502, allocations: 467.3 kB / 1.011 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/2.502, allocations: 0 / 1.011 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.4533/2.955, allocations: 97.9 MB / 1.107 GB, free: 109.9 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)