Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 102.2 kB / 18.4 MB, free: 4.68 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.001709/0.001709, allocations: 185.5 kB / 19.34 MB, free: 3.754 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.324/1.324, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001234/0.001234, allocations: 47.94 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07293/0.07417, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.1877/0.2619, allocations: 45.33 MB / 421.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03396/0.2959, allocations: 11.75 MB / 432.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/0.3063, allocations: 298.1 kB / 433.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03104/0.3374, allocations: 12.47 MB / 445.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0157/0.3532, allocations: 4.938 MB / 450.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008504/0.3617, allocations: 2.975 MB / 453.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02495/0.3866, allocations: 21.1 MB / 474.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06259/0.4493, allocations: 41.89 MB / 0.5045 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0157/0.465, allocations: 11.05 MB / 0.5153 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0167/0.4817, allocations: 12.11 MB / 0.5271 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006826/0.4886, allocations: 3.144 MB / 0.5302 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009677/0.4983, allocations: 3.558 MB / 0.5337 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008148/0.5065, allocations: 6.309 MB / 0.5398 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01905/0.5255, allocations: 11.97 MB / 0.5515 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3868/0.9124, allocations: 41.4 MB / 0.5919 GB, free: 61.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9124, allocations: 0 / 0.5919 GB, free: 61.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9124, allocations: 0 / 0.5919 GB, free: 61.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.00105/0.9135, allocations: 0 / 0.5919 GB, free: 61.3 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.07157/0.985, allocations: 24.07 MB / 0.6155 GB, free: 49.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.9851, allocations: 7.344 kB / 0.6155 GB, free: 49.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06772/1.053, allocations: 12.33 MB / 0.6275 GB, free: 43.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02482/1.078, allocations: 12.11 MB / 0.6393 GB, free: 31.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/1.079, allocations: 1.377 MB / 0.6407 GB, free: 30.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007616/1.086, allocations: 1.806 MB / 0.6424 GB, free: 28.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06777/1.154, allocations: 30.03 MB / 0.6718 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004826/1.155, allocations: 23.75 kB / 0.6718 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004686/1.159, allocations: 0.7456 MB / 0.6725 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009891/1.16, allocations: 1.022 MB / 0.6735 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05809/1.218, allocations: 27.96 MB / 0.7008 GB, free: 0.7969 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3527/1.571, allocations: 94.25 MB / 0.7929 GB, free: 145.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03566/1.607, allocations: 63.44 MB / 0.8548 GB, free: 93.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/1.618, allocations: 7.46 MB / 0.8621 GB, free: 91.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02997/1.648, allocations: 20.52 MB / 0.8821 GB, free: 77.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/1.648, allocations: 104.5 kB / 0.8822 GB, free: 77.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=677): time 8.396e-06/1.648, allocations: 0 / 0.8822 GB, free: 77.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=685): time 0.07743/1.725, allocations: 38.28 MB / 0.9196 GB, free: 39.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.725, allocations: 147.1 kB / 0.9198 GB, free: 38.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008957/1.734, allocations: 7.259 MB / 0.9268 GB, free: 31.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009435/1.735, allocations: 137.7 kB / 0.927 GB, free: 31.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002963/1.738, allocations: 7.936 MB / 0.9347 GB, free: 23.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/1.74, allocations: 2.333 MB / 0.937 GB, free: 21.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002529/1.742, allocations: 1.929 MB / 0.9389 GB, free: 19.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.637e-05/1.742, allocations: 310.1 kB / 0.9392 GB, free: 18.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006044/1.748, allocations: 4.915 MB / 0.944 GB, free: 14.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007126/1.756, allocations: 8.623 MB / 0.9524 GB, free: 3.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2148/1.97, allocations: 14.38 MB / 0.9664 GB, free: 169.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.564e-05/1.97, allocations: 36.5 kB / 0.9665 GB, free: 169.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02773/1.998, allocations: 16.39 MB / 0.9825 GB, free: 166 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/1.998, allocations: 58.5 kB / 0.9825 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.998, allocations: 117.6 kB / 0.9827 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/2.004, allocations: 2.592 MB / 0.9852 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008052/2.012, allocations: 2.177 MB / 0.9873 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03083/2.043, allocations: 30.79 MB / 1.017 GB, free: 143.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008177/2.051, allocations: 0.5406 MB / 1.018 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/2.053, allocations: 480.8 kB / 1.018 GB, free: 142.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (1128): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01179/2.065, allocations: 6.822 MB / 1.025 GB, free: 136.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/2.067, allocations: 0.7711 MB / 1.026 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/2.087, allocations: 13.1 MB / 1.039 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.982e-05/2.087, allocations: 38.45 kB / 1.039 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/2.087, allocations: 4 kB / 1.039 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004171/2.092, allocations: 1.755 MB / 1.04 GB, free: 124 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/2.093, allocations: 127.7 kB / 1.04 GB, free: 123.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004588/2.098, allocations: 389.9 kB / 1.041 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.099, allocations: 0.5876 MB / 1.041 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02104/2.12, allocations: 12.46 MB / 1.054 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0175/2.138, allocations: 14.49 MB / 1.068 GB, free: 97.55 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004992/2.143, allocations: 4.605 MB / 1.072 GB, free: 92.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006959/2.15, allocations: 4.871 MB / 1.077 GB, free: 88.08 MB / 0.545 GB Notification: Performance of Backend: time 5.31e-07/2.15, allocations: 0 / 1.077 GB, free: 88.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01717/2.167, allocations: 9.939 MB / 1.087 GB, free: 78.08 MB / 0.545 GB Notification: Performance of SimCode: time 0.0521/2.219, allocations: 31.61 MB / 1.118 GB, free: 46.44 MB / 0.545 GB Notification: Performance of Templates: time 0.4019/2.621, allocations: 149.2 MB / 1.263 GB, free: 115.5 MB / 0.545 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)