Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 152 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.0019/0.0019, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.413/1.413, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001187/0.001187, allocations: 55.92 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2326, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03831/0.2709, allocations: 38.34 MB / 363.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02345/0.2944, allocations: 10.02 MB / 373.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008477/0.3029, allocations: 247.1 kB / 373.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02365/0.3266, allocations: 10.18 MB / 384.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01628/0.3429, allocations: 4.083 MB / 388.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008277/0.3512, allocations: 2.416 MB / 390.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02162/0.3729, allocations: 16.4 MB / 407 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04658/0.4195, allocations: 31.4 MB / 438.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01312/0.4326, allocations: 8.509 MB / 446.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01431/0.447, allocations: 9.464 MB / 456.4 MB, free: 232 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3629/0.8099, allocations: 2.423 MB / 458.8 MB, free: 43.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.8216, allocations: 2.825 MB / 461.6 MB, free: 43.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008359/0.83, allocations: 4.871 MB / 466.5 MB, free: 43.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02168/0.8518, allocations: 9.282 MB / 475.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03792/0.8897, allocations: 31.94 MB / 0.4958 GB, free: 28.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.8898, allocations: 3.938 kB / 0.4958 GB, free: 28.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8898, allocations: 0 / 0.4958 GB, free: 28.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001119/0.891, allocations: 0 / 0.4958 GB, free: 28.12 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.06602/0.957, allocations: 18.92 MB / 0.5143 GB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.9571, allocations: 12.03 kB / 0.5143 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05026/1.007, allocations: 9.237 MB / 0.5234 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02208/1.029, allocations: 9.148 MB / 0.5323 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001533/1.031, allocations: 1.08 MB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00799/1.039, allocations: 1.419 MB / 0.5347 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06871/1.108, allocations: 23.2 MB / 0.5574 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001051/1.109, allocations: 23.45 kB / 0.5574 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006271/1.115, allocations: 0.5859 MB / 0.558 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001017/1.116, allocations: 0.7954 MB / 0.5588 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0555/1.172, allocations: 21.69 MB / 0.5799 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4132/1.585, allocations: 74.17 MB / 0.6524 GB, free: 73.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03294/1.618, allocations: 53.55 MB / 0.7047 GB, free: 40.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008203/1.626, allocations: 5.388 MB / 0.7099 GB, free: 37.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02386/1.65, allocations: 15.48 MB / 0.725 GB, free: 26.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.65, allocations: 89.48 kB / 0.7251 GB, free: 26.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=498): time 6.663e-06/1.65, allocations: 0 / 0.7251 GB, free: 26.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=506): time 0.05991/1.71, allocations: 26.96 MB / 0.7515 GB, free: 14.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/1.71, allocations: 129.3 kB / 0.7516 GB, free: 14.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.722, allocations: 5.906 MB / 0.7573 GB, free: 8.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001488/1.724, allocations: 105.7 kB / 0.7574 GB, free: 8.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004929/1.729, allocations: 6.294 MB / 0.7636 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002601/1.731, allocations: 1.743 MB / 0.7653 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/1.734, allocations: 1.517 MB / 0.7668 GB, free: 15.13 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.734, allocations: 301.1 kB / 0.7671 GB, free: 14.83 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005886/1.74, allocations: 3.693 MB / 0.7707 GB, free: 11.14 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008564/1.749, allocations: 6.766 MB / 0.7773 GB, free: 3 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/1.764, allocations: 11.14 MB / 0.7882 GB, free: 6.84 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-05/1.764, allocations: 32 kB / 0.7882 GB, free: 6.809 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.265/2.029, allocations: 12.39 MB / 0.8003 GB, free: 196.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/2.03, allocations: 51.16 kB / 0.8003 GB, free: 196.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003328/2.03, allocations: 101.9 kB / 0.8004 GB, free: 196.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/2.035, allocations: 1.609 MB / 0.802 GB, free: 196.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007035/2.042, allocations: 1.747 MB / 0.8037 GB, free: 196.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/2.066, allocations: 19.64 MB / 0.8229 GB, free: 186 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/2.074, allocations: 439 kB / 0.8233 GB, free: 185.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/2.076, allocations: 388.3 kB / 0.8237 GB, free: 185.9 MB / 0.5138 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.01197/2.088, allocations: 5.251 MB / 0.8288 GB, free: 183.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/2.09, allocations: 0.6075 MB / 0.8294 GB, free: 183.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/2.107, allocations: 9.376 MB / 0.8386 GB, free: 179.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008749/2.115, allocations: 5.88 MB / 0.8443 GB, free: 177.4 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.831e-05/2.116, allocations: 18.91 kB / 0.8443 GB, free: 177.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.243e-05/2.116, allocations: 28.14 kB / 0.8443 GB, free: 177.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03777/2.154, allocations: 21.11 MB / 0.865 GB, free: 162 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/2.154, allocations: 8 kB / 0.865 GB, free: 162 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/2.157, allocations: 0.8665 MB / 0.8658 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/2.161, allocations: 1.65 MB / 0.8674 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005563/2.162, allocations: 128 kB / 0.8675 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02066/2.183, allocations: 23.22 MB / 0.8902 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/2.183, allocations: 11.94 kB / 0.8902 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/2.201, allocations: 13.72 MB / 0.9036 GB, free: 121.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003496/2.205, allocations: 1.358 MB / 0.905 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/2.206, allocations: 108 kB / 0.9051 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/2.21, allocations: 287.7 kB / 0.9053 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009749/2.211, allocations: 404.4 kB / 0.9057 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003085/2.211, allocations: 159.9 kB / 0.9059 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006225/2.217, allocations: 3.969 MB / 0.9097 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.31e-07/2.217, allocations: 0 / 0.9097 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01008/2.227, allocations: 2.369 MB / 0.9121 GB, free: 113.2 MB / 0.5138 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.001177/2.228, allocations: 327.9 kB / 0.9124 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02956/2.258, allocations: 16 MB / 0.928 GB, free: 96.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/2.258, allocations: 4 kB / 0.928 GB, free: 96.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/2.268, allocations: 5.462 MB / 0.9333 GB, free: 91.26 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/2.279, allocations: 1.633 MB / 0.9349 GB, free: 89.63 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06193/2.341, allocations: 25.23 MB / 0.9596 GB, free: 64.31 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0176/2.359, allocations: 8.929 MB / 0.9683 GB, free: 55.34 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01216/2.371, allocations: 2.599 MB / 0.9708 GB, free: 52.73 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/2.373, allocations: 467.4 kB / 0.9713 GB, free: 52.28 MB / 0.5138 GB Notification: Performance of SimCode: time 8.51e-07/2.373, allocations: 0 / 0.9713 GB, free: 52.28 MB / 0.5138 GB Notification: Performance of Templates: time 0.3787/2.752, allocations: 102.7 MB / 1.072 GB, free: 127.5 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)