Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001071/0.001071, allocations: 109.4 kB / 17.74 MB, free: 5.348 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.001027/0.001027, allocations: 184.2 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000975/0.0009751, allocations: 51.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2039, allocations: 49.43 MB / 401.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04282/0.2468, allocations: 45.27 MB / 446.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0204/0.2672, allocations: 11.79 MB / 458.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00622/0.2734, allocations: 354.8 kB / 458.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02577/0.2992, allocations: 12.48 MB / 471.3 MB, free: 2.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.3127, allocations: 4.898 MB / 476.2 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007189/0.3199, allocations: 2.939 MB / 479.2 MB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02144/0.3413, allocations: 20.94 MB / 0.4884 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05492/0.3963, allocations: 41.96 MB / 0.5294 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.4093, allocations: 10.98 MB / 0.5401 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3495/0.7588, allocations: 12.01 MB / 0.5518 GB, free: 49.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006125/0.765, allocations: 3.137 MB / 0.5549 GB, free: 49.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008898/0.7739, allocations: 3.529 MB / 0.5583 GB, free: 49.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006183/0.7801, allocations: 6.255 MB / 0.5644 GB, free: 48.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01252/0.7926, allocations: 11.9 MB / 0.5761 GB, free: 43.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02621/0.8188, allocations: 41.44 MB / 0.6165 GB, free: 17.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8189, allocations: 6.969 kB / 0.6165 GB, free: 17.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.8189, allocations: 3.938 kB / 0.6165 GB, free: 17.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007379/0.8196, allocations: 0 / 0.6165 GB, free: 17.4 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.05856/0.8782, allocations: 23.89 MB / 0.6399 GB, free: 9.699 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8783, allocations: 8.031 kB / 0.6399 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06372/0.942, allocations: 11.34 MB / 0.6509 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02672/0.9687, allocations: 13.42 MB / 0.664 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/0.9699, allocations: 1.357 MB / 0.6654 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005293/0.9752, allocations: 1.793 MB / 0.6671 GB, free: 14.39 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05458/1.03, allocations: 29.58 MB / 0.696 GB, free: 0.7383 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003129/1.03, allocations: 15.81 kB / 0.696 GB, free: 0.7227 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/1.032, allocations: 0.7436 MB / 0.6967 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008754/1.033, allocations: 0.9867 MB / 0.6977 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04423/1.077, allocations: 27.3 MB / 0.7244 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2973/1.375, allocations: 92.9 MB / 0.8151 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02935/1.404, allocations: 51.97 MB / 0.8658 GB, free: 87.41 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/1.414, allocations: 7.296 MB / 0.873 GB, free: 80.11 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03184/1.446, allocations: 20.02 MB / 0.8925 GB, free: 60.32 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/1.446, allocations: 104.5 kB / 0.8926 GB, free: 60.21 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=677): time 7.644e-06/1.446, allocations: 4 kB / 0.8926 GB, free: 60.21 MB / 0.5607 GB Notification: Performance of matching and sorting (n=685): time 0.07733/1.524, allocations: 38.14 MB / 0.9299 GB, free: 21.67 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.524, allocations: 147.1 kB / 0.93 GB, free: 21.51 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009732/1.533, allocations: 7.097 MB / 0.9369 GB, free: 14.43 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004997/1.534, allocations: 145.6 kB / 0.9371 GB, free: 14.28 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003037/1.537, allocations: 7.802 MB / 0.9447 GB, free: 6.43 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.538, allocations: 2.318 MB / 0.947 GB, free: 4.133 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002703/1.541, allocations: 1.87 MB / 0.9488 GB, free: 2.25 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.021e-05/1.541, allocations: 305.1 kB / 0.9491 GB, free: 1.949 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006913/1.548, allocations: 4.856 MB / 0.9538 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009691/1.558, allocations: 8.333 MB / 0.962 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2169/1.775, allocations: 13.99 MB / 0.9756 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.599e-05/1.775, allocations: 31.09 kB / 0.9756 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02261/1.797, allocations: 16.07 MB / 0.9913 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/1.797, allocations: 53.56 kB / 0.9914 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.797, allocations: 113.5 kB / 0.9915 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005933/1.803, allocations: 2.574 MB / 0.994 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/1.811, allocations: 2.102 MB / 0.9961 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0297/1.84, allocations: 30.76 MB / 1.026 GB, free: 156.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/1.847, allocations: 0.5324 MB / 1.027 GB, free: 156 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.848, allocations: 454.6 kB / 1.027 GB, free: 155.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (1089): * Single equations (assignments): 1079 * 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.008665/1.857, allocations: 6.759 MB / 1.034 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.858, allocations: 0.7618 MB / 1.034 GB, free: 150.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01885/1.877, allocations: 13.08 MB / 1.047 GB, free: 139 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/1.877, allocations: 31.88 kB / 1.047 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.877, allocations: 0 / 1.047 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/1.881, allocations: 1.751 MB / 1.049 GB, free: 137.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.882, allocations: 128 kB / 1.049 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003535/1.886, allocations: 391.6 kB / 1.049 GB, free: 137 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009522/1.887, allocations: 0.5833 MB / 1.05 GB, free: 136.5 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01952/1.906, allocations: 12.46 MB / 1.062 GB, free: 124 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01617/1.922, allocations: 14.47 MB / 1.076 GB, free: 109.5 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004745/1.927, allocations: 4.601 MB / 1.081 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005674/1.933, allocations: 4.793 MB / 1.085 GB, free: 100.1 MB / 0.5763 GB Notification: Performance of Backend: time 2.71e-07/1.933, allocations: 3.938 kB / 1.085 GB, free: 100.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01424/1.947, allocations: 9.803 MB / 1.095 GB, free: 90.19 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0413/1.988, allocations: 31.35 MB / 1.126 GB, free: 58.88 MB / 0.5763 GB Notification: Performance of Templates: time 0.3855/2.374, allocations: 148.3 MB / 1.27 GB, free: 137.6 MB / 0.5763 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)