Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001066/0.001066, allocations: 94.88 kB / 16.65 MB, free: 6.27 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.001347/0.001347, allocations: 180.4 kB / 17.57 MB, free: 5.883 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.499/1.499, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0005072/0.0005073, allocations: 8 kB / 280.8 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 47.58 MB / 328.3 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03954/0.1589, allocations: 36.18 MB / 364.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03042/0.1894, allocations: 9.835 MB / 374.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01075/0.2002, allocations: 235.1 kB / 374.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.2127, allocations: 2.457 MB / 377 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2603/0.4731, allocations: 3.701 MB / 380.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008851/0.482, allocations: 2.139 MB / 382.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0275/0.5095, allocations: 16.83 MB / 399.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05073/0.5603, allocations: 29.31 MB / 429 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02038/0.5807, allocations: 5.981 MB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02229/0.603, allocations: 7.319 MB / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006539/0.6096, allocations: 0.9453 MB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.6221, allocations: 1.327 MB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009907/0.6321, allocations: 3.095 MB / 447.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02765/0.6598, allocations: 7.348 MB / 455 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06083/0.7207, allocations: 30.13 MB / 485.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.7208, allocations: 0 / 485.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.7208, allocations: 0 / 485.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001484/0.7223, allocations: 0 / 485.2 MB, free: 2.16 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.07901/0.8013, allocations: 15.73 MB / 0.4892 GB, free: 2.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.8014, allocations: 8.031 kB / 0.4892 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05191/0.8533, allocations: 9.283 MB / 0.4982 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/0.8749, allocations: 9.144 MB / 0.5072 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/0.8763, allocations: 1.073 MB / 0.5082 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006808/0.8831, allocations: 1.421 MB / 0.5096 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06654/0.9497, allocations: 23.24 MB / 0.5323 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000633/0.9504, allocations: 19.89 kB / 0.5323 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005497/0.9559, allocations: 0.5875 MB / 0.5329 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008985/0.9568, allocations: 0.8032 MB / 0.5337 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.476/1.433, allocations: 21.73 MB / 0.5549 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/1.537, allocations: 74.4 MB / 0.6275 GB, free: 68.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03006/1.567, allocations: 53.56 MB / 0.6798 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008925/1.576, allocations: 5.448 MB / 0.6852 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/1.602, allocations: 15.62 MB / 0.7004 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.135e-05/1.602, allocations: 90.78 kB / 0.7005 GB, free: 3.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 6.352e-06/1.602, allocations: 0 / 0.7005 GB, free: 3.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=512): time 0.2846/1.887, allocations: 26.96 MB / 0.7268 GB, free: 152.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/1.887, allocations: 133 kB / 0.727 GB, free: 152.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.897, allocations: 5.907 MB / 0.7327 GB, free: 150.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009223/1.898, allocations: 112.3 kB / 0.7328 GB, free: 150.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003615/1.902, allocations: 6.281 MB / 0.739 GB, free: 145.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002045/1.904, allocations: 1.755 MB / 0.7407 GB, free: 144.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009211/1.905, allocations: 0.6211 MB / 0.7413 GB, free: 143.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/1.905, allocations: 301.1 kB / 0.7416 GB, free: 143.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004905/1.91, allocations: 3.739 MB / 0.7452 GB, free: 142.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/1.916, allocations: 6.815 MB / 0.7519 GB, free: 136.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.929, allocations: 11.25 MB / 0.7629 GB, free: 129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.929, allocations: 29.09 kB / 0.7629 GB, free: 129 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02253/1.951, allocations: 12.51 MB / 0.7751 GB, free: 123.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/1.951, allocations: 52.62 kB / 0.7752 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/1.952, allocations: 101.6 kB / 0.7753 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004137/1.956, allocations: 1.591 MB / 0.7768 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006587/1.962, allocations: 1.744 MB / 0.7785 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.981, allocations: 18.23 MB / 0.7963 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007281/1.989, allocations: 441.7 kB / 0.7967 GB, free: 107.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/1.99, allocations: 391.1 kB / 0.7971 GB, free: 107.2 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.01062/2.001, allocations: 5.253 MB / 0.8022 GB, free: 102.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/2.003, allocations: 0.6132 MB / 0.8028 GB, free: 102.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/2.02, allocations: 9.478 MB / 0.8121 GB, free: 92.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008275/2.028, allocations: 5.963 MB / 0.8179 GB, free: 86.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-05/2.028, allocations: 20 kB / 0.8179 GB, free: 86.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.178e-05/2.028, allocations: 31.83 kB / 0.818 GB, free: 86.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03622/2.064, allocations: 21.25 MB / 0.8387 GB, free: 65.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/2.065, allocations: 4 kB / 0.8387 GB, free: 65.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003495/2.068, allocations: 0.866 MB / 0.8396 GB, free: 64.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/2.072, allocations: 1.641 MB / 0.8412 GB, free: 62.69 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005947/2.073, allocations: 128 kB / 0.8413 GB, free: 62.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/2.093, allocations: 21.39 MB / 0.8622 GB, free: 40.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.093, allocations: 4 kB / 0.8622 GB, free: 40.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/2.112, allocations: 13.91 MB / 0.8758 GB, free: 26.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003423/2.115, allocations: 1.372 MB / 0.8771 GB, free: 24.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/2.116, allocations: 116 kB / 0.8772 GB, free: 24.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/2.12, allocations: 295.7 kB / 0.8775 GB, free: 24.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008762/2.121, allocations: 408.4 kB / 0.8779 GB, free: 23.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/2.121, allocations: 152 kB / 0.878 GB, free: 23.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0054/2.126, allocations: 3.973 MB / 0.8819 GB, free: 19.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/2.126, allocations: 0 / 0.8819 GB, free: 19.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008935/2.135, allocations: 2.374 MB / 0.8842 GB, free: 17.35 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.001003/2.136, allocations: 324.6 kB / 0.8845 GB, free: 17.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2302/2.366, allocations: 10.08 MB / 0.8944 GB, free: 146 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.366, allocations: 4.984 kB / 0.8944 GB, free: 146 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009821/2.376, allocations: 5.509 MB / 0.8998 GB, free: 144.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01334/2.39, allocations: 1.55 MB / 0.9013 GB, free: 144.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04929/2.439, allocations: 31.49 MB / 0.932 GB, free: 126.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01854/2.458, allocations: 8.938 MB / 0.9408 GB, free: 123.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01134/2.469, allocations: 2.588 MB / 0.9433 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002696/2.472, allocations: 468.3 kB / 0.9437 GB, free: 123.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/2.472, allocations: 0 / 0.9437 GB, free: 123.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1707/2.642, allocations: 98.18 MB / 1.04 GB, free: 26.63 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)