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.001059/0.00106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001065/0.001065, allocations: 201.7 kB / 16.26 MB, free: 6.617 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.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.001202/0.001202, allocations: 51.94 kB / 278.3 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2931, allocations: 46.63 MB / 324.9 MB, free: 2.156 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04002/0.3332, allocations: 37.65 MB / 362.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0267/0.3599, allocations: 9.869 MB / 372.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01144/0.3714, allocations: 231.1 kB / 372.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02619/0.3977, allocations: 9.588 MB / 382.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.4168, allocations: 3.701 MB / 385.9 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009216/0.4261, allocations: 2.218 MB / 388.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02652/0.4526, allocations: 16.6 MB / 404.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06364/0.5163, allocations: 35.03 MB / 439.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01838/0.5347, allocations: 8.489 MB / 448.2 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4518/0.9866, allocations: 9.506 MB / 457.8 MB, free: 41.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01056/0.9972, allocations: 2.425 MB / 460.2 MB, free: 41.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/1.009, allocations: 2.819 MB / 463 MB, free: 41.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009176/1.018, allocations: 4.877 MB / 467.9 MB, free: 41.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02254/1.041, allocations: 9.272 MB / 477.1 MB, free: 40.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03973/1.081, allocations: 31.93 MB / 0.4971 GB, free: 23.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.081, allocations: 2.531 kB / 0.4971 GB, free: 23.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.081, allocations: 2.719 kB / 0.4971 GB, free: 23.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001198/1.082, allocations: 0 / 0.4971 GB, free: 23.55 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.06956/1.151, allocations: 18.92 MB / 0.5156 GB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/1.152, allocations: 8.031 kB / 0.5156 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04999/1.202, allocations: 9.242 MB / 0.5247 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02525/1.227, allocations: 9.106 MB / 0.5336 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001464/1.228, allocations: 1.078 MB / 0.5346 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008214/1.237, allocations: 1.421 MB / 0.536 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08091/1.317, allocations: 23.22 MB / 0.5587 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009436/1.318, allocations: 19.89 kB / 0.5587 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006906/1.325, allocations: 0.594 MB / 0.5593 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/1.326, allocations: 0.8027 MB / 0.56 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05665/1.383, allocations: 21.7 MB / 0.5812 GB, free: 7.191 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3682/1.751, allocations: 74.18 MB / 0.6537 GB, free: 130.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03211/1.784, allocations: 53.6 MB / 0.706 GB, free: 82.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008256/1.792, allocations: 5.418 MB / 0.7113 GB, free: 80.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02463/1.816, allocations: 15.61 MB / 0.7266 GB, free: 71.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/1.817, allocations: 86.56 kB / 0.7266 GB, free: 71.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.143e-06/1.817, allocations: 0 / 0.7266 GB, free: 71.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.05138/1.868, allocations: 26.84 MB / 0.7528 GB, free: 49.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.868, allocations: 133.4 kB / 0.753 GB, free: 49.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008701/1.877, allocations: 5.906 MB / 0.7587 GB, free: 43.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.878, allocations: 105.7 kB / 0.7588 GB, free: 43.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003335/1.881, allocations: 6.284 MB / 0.765 GB, free: 36.94 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002589/1.884, allocations: 1.757 MB / 0.7667 GB, free: 35.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002879/1.887, allocations: 1.525 MB / 0.7682 GB, free: 33.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.165e-05/1.887, allocations: 305.1 kB / 0.7685 GB, free: 33.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/1.891, allocations: 3.728 MB / 0.7721 GB, free: 29.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005582/1.897, allocations: 6.808 MB / 0.7788 GB, free: 21.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.908, allocations: 11.23 MB / 0.7897 GB, free: 8.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/1.908, allocations: 28 kB / 0.7898 GB, free: 8.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.2073/2.116, allocations: 12.47 MB / 0.8019 GB, free: 147.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/2.116, allocations: 51.5 kB / 0.802 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/2.116, allocations: 101.2 kB / 0.8021 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004822/2.121, allocations: 1.611 MB / 0.8037 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006748/2.128, allocations: 1.754 MB / 0.8054 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/2.148, allocations: 19.63 MB / 0.8245 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007957/2.156, allocations: 439.5 kB / 0.825 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/2.157, allocations: 388.9 kB / 0.8253 GB, free: 136.8 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.01002/2.167, allocations: 5.252 MB / 0.8305 GB, free: 134.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.169, allocations: 0.6032 MB / 0.831 GB, free: 134.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/2.184, allocations: 9.462 MB / 0.8403 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008496/2.192, allocations: 5.958 MB / 0.8461 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.068e-05/2.192, allocations: 19.62 kB / 0.8461 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/2.192, allocations: 26.02 kB / 0.8462 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03847/2.231, allocations: 21.23 MB / 0.8669 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/2.231, allocations: 8 kB / 0.8669 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/2.234, allocations: 0.862 MB / 0.8677 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004233/2.239, allocations: 1.655 MB / 0.8694 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006284/2.239, allocations: 128 kB / 0.8695 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/2.26, allocations: 23.21 MB / 0.8921 GB, free: 89.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/2.26, allocations: 8.156 kB / 0.8921 GB, free: 89.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/2.282, allocations: 13.86 MB / 0.9057 GB, free: 75.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00402/2.286, allocations: 1.374 MB / 0.907 GB, free: 74.06 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/2.288, allocations: 104.1 kB / 0.9071 GB, free: 73.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/2.292, allocations: 291.7 kB / 0.9074 GB, free: 73.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/2.293, allocations: 404.5 kB / 0.9078 GB, free: 73.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/2.293, allocations: 152 kB / 0.9079 GB, free: 73.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006825/2.3, allocations: 3.969 MB / 0.9118 GB, free: 69.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/2.3, allocations: 4 kB / 0.9118 GB, free: 69.19 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01157/2.312, allocations: 2.381 MB / 0.9141 GB, free: 66.82 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/2.314, allocations: 318.5 kB / 0.9144 GB, free: 66.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03334/2.347, allocations: 16.26 MB / 0.9303 GB, free: 50.15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/2.347, allocations: 0 / 0.9303 GB, free: 50.15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009776/2.357, allocations: 5.493 MB / 0.9357 GB, free: 44.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/2.371, allocations: 1.64 MB / 0.9373 GB, free: 42.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06589/2.436, allocations: 31.3 MB / 0.9678 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2466/2.683, allocations: 8.933 MB / 0.9766 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008693/2.692, allocations: 2.595 MB / 0.9791 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/2.694, allocations: 470.3 kB / 0.9796 GB, free: 137.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/2.694, allocations: 0 / 0.9796 GB, free: 137.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1823/2.876, allocations: 103.2 MB / 1.08 GB, free: 61.71 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)