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.001603/0.001603, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001856, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.544/1.544, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.001257/0.001257, allocations: 59.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03965/0.3566, allocations: 38.34 MB / 363.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02785/0.3845, allocations: 10.02 MB / 373.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.395, allocations: 247.1 kB / 373.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0257/0.4208, allocations: 10.18 MB / 384.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0196/0.4404, allocations: 4.087 MB / 388.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01161/0.4521, allocations: 2.405 MB / 390.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02731/0.4794, allocations: 16.42 MB / 407 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06306/0.5425, allocations: 31.38 MB / 438.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01826/0.5608, allocations: 8.513 MB / 446.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01907/0.5799, allocations: 9.46 MB / 456.4 MB, free: 240 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.4204/1, allocations: 2.424 MB / 458.8 MB, free: 43.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/1.011, allocations: 2.828 MB / 461.6 MB, free: 43.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007966/1.019, allocations: 4.875 MB / 466.5 MB, free: 43.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02115/1.04, allocations: 9.281 MB / 475.8 MB, free: 42.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03703/1.077, allocations: 31.94 MB / 0.4958 GB, free: 28.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.077, allocations: 4 kB / 0.4958 GB, free: 28.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/1.077, allocations: 2.344 kB / 0.4958 GB, free: 28.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001175/1.078, allocations: 0 / 0.4958 GB, free: 28.11 MB / 382.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.06665/1.145, allocations: 18.92 MB / 0.5143 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.145, allocations: 8.031 kB / 0.5143 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05032/1.196, allocations: 9.243 MB / 0.5234 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02422/1.22, allocations: 9.15 MB / 0.5323 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/1.221, allocations: 1.077 MB / 0.5333 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007916/1.229, allocations: 1.425 MB / 0.5347 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07029/1.3, allocations: 23.19 MB / 0.5574 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006216/1.3, allocations: 23.8 kB / 0.5574 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006013/1.306, allocations: 0.5922 MB / 0.558 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009056/1.307, allocations: 0.7993 MB / 0.5588 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05164/1.359, allocations: 21.68 MB / 0.5799 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.384/1.743, allocations: 74.16 MB / 0.6524 GB, free: 115.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03743/1.78, allocations: 53.56 MB / 0.7047 GB, free: 62.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009918/1.79, allocations: 5.385 MB / 0.7099 GB, free: 59.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03456/1.825, allocations: 15.49 MB / 0.725 GB, free: 48.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/1.825, allocations: 94.75 kB / 0.7251 GB, free: 48.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=498): time 8.205e-06/1.825, allocations: 0 / 0.7251 GB, free: 48.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=506): time 0.0702/1.895, allocations: 26.95 MB / 0.7514 GB, free: 20.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/1.895, allocations: 129.3 kB / 0.7516 GB, free: 20.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/1.909, allocations: 5.903 MB / 0.7573 GB, free: 14.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001238/1.91, allocations: 113.7 kB / 0.7574 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004074/1.914, allocations: 6.288 MB / 0.7636 GB, free: 8.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002419/1.917, allocations: 1.738 MB / 0.7653 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006037/1.923, allocations: 1.528 MB / 0.7668 GB, free: 5.242 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/1.923, allocations: 301.1 kB / 0.7671 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006764/1.93, allocations: 3.681 MB / 0.7707 GB, free: 1.262 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.941, allocations: 6.771 MB / 0.7773 GB, free: 9.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.246/2.187, allocations: 11.15 MB / 0.7882 GB, free: 149.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/2.187, allocations: 28.78 kB / 0.7882 GB, free: 149.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02114/2.208, allocations: 12.4 MB / 0.8003 GB, free: 147.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/2.208, allocations: 51.28 kB / 0.8003 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/2.208, allocations: 105.2 kB / 0.8004 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003962/2.212, allocations: 1.605 MB / 0.802 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/2.218, allocations: 1.741 MB / 0.8037 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/2.238, allocations: 19.65 MB / 0.8229 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007412/2.245, allocations: 438.2 kB / 0.8233 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008811/2.246, allocations: 397.4 kB / 0.8237 GB, free: 134 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 (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.01173/2.258, allocations: 5.239 MB / 0.8288 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.26, allocations: 0.6022 MB / 0.8294 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/2.274, allocations: 9.382 MB / 0.8386 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008211/2.283, allocations: 5.875 MB / 0.8443 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/2.283, allocations: 27.94 kB / 0.8443 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/2.283, allocations: 27.91 kB / 0.8444 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03759/2.32, allocations: 21.11 MB / 0.865 GB, free: 103.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/2.32, allocations: 4 kB / 0.865 GB, free: 103.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003788/2.324, allocations: 0.8628 MB / 0.8658 GB, free: 102.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/2.329, allocations: 1.645 MB / 0.8674 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/2.33, allocations: 127.9 kB / 0.8675 GB, free: 100.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/2.353, allocations: 23.22 MB / 0.8902 GB, free: 76.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.353, allocations: 8 kB / 0.8902 GB, free: 76.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/2.372, allocations: 13.72 MB / 0.9036 GB, free: 62.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003865/2.376, allocations: 1.36 MB / 0.905 GB, free: 61.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/2.378, allocations: 104 kB / 0.9051 GB, free: 61.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004117/2.382, allocations: 295.5 kB / 0.9053 GB, free: 61.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/2.383, allocations: 412.3 kB / 0.9057 GB, free: 60.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004/2.383, allocations: 156 kB / 0.9059 GB, free: 60.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008078/2.392, allocations: 3.965 MB / 0.9098 GB, free: 56.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/2.392, allocations: 0 / 0.9098 GB, free: 56.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01051/2.402, allocations: 2.369 MB / 0.9121 GB, free: 54.31 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 (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.001313/2.403, allocations: 319.4 kB / 0.9124 GB, free: 54.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03055/2.434, allocations: 16 MB / 0.928 GB, free: 37.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.434, allocations: 5.875 kB / 0.928 GB, free: 37.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008366/2.442, allocations: 5.46 MB / 0.9333 GB, free: 32.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009849/2.452, allocations: 1.627 MB / 0.9349 GB, free: 30.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2981/2.75, allocations: 25.25 MB / 0.9596 GB, free: 139 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01691/2.767, allocations: 8.933 MB / 0.9683 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009345/2.777, allocations: 2.585 MB / 0.9708 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/2.779, allocations: 468.6 kB / 0.9713 GB, free: 137.9 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/2.779, allocations: 2 kB / 0.9713 GB, free: 137.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1798/2.959, allocations: 102.7 MB / 1.072 GB, free: 57.23 MB / 478.1 MB 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)