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.0008088/0.0008088, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006581/0.006582, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.455/1.455, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004771/0.0004772, allocations: 12.28 kB / 279.5 MB, free: 12.47 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2829, allocations: 47.58 MB / 327.1 MB, free: 1.523 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0429/0.3259, allocations: 36.17 MB / 363.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02783/0.3538, allocations: 9.839 MB / 373.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01142/0.3652, allocations: 231.1 kB / 373.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.3768, allocations: 2.465 MB / 375.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0189/0.3958, allocations: 3.705 MB / 379.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009506/0.4053, allocations: 2.129 MB / 381.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02892/0.4342, allocations: 16.83 MB / 398.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06917/0.5035, allocations: 29.3 MB / 427.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.5174, allocations: 5.989 MB / 433.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01621/0.5336, allocations: 7.313 MB / 441 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005739/0.5394, allocations: 0.9453 MB / 442 MB, free: 64 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008747/0.5482, allocations: 1.332 MB / 443.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006604/0.5548, allocations: 3.09 MB / 446.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01888/0.5737, allocations: 7.349 MB / 453.7 MB, free: 4.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5157/1.089, allocations: 30.13 MB / 483.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.09, allocations: 0 / 483.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.167e-06/1.09, allocations: 0 / 483.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001236/1.091, allocations: 0 / 483.9 MB, free: 38.39 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.05639/1.147, allocations: 15.73 MB / 499.6 MB, free: 30.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.147, allocations: 6.375 kB / 499.6 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05148/1.199, allocations: 9.282 MB / 0.497 GB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02379/1.223, allocations: 9.141 MB / 0.5059 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001465/1.224, allocations: 1.075 MB / 0.5069 GB, free: 21.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00701/1.231, allocations: 1.418 MB / 0.5083 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07005/1.301, allocations: 23.23 MB / 0.531 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001034/1.302, allocations: 30.66 kB / 0.531 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00672/1.309, allocations: 0.587 MB / 0.5316 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/1.31, allocations: 0.7993 MB / 0.5324 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05466/1.365, allocations: 21.73 MB / 0.5536 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3925/1.757, allocations: 74.4 MB / 0.6263 GB, free: 127.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03319/1.791, allocations: 53.57 MB / 0.6786 GB, free: 80.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008929/1.8, allocations: 5.447 MB / 0.6839 GB, free: 80.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02848/1.828, allocations: 15.61 MB / 0.6991 GB, free: 74.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/1.828, allocations: 89.84 kB / 0.6992 GB, free: 74.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 6.282e-06/1.828, allocations: 0 / 0.6992 GB, free: 74.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=512): time 0.06166/1.89, allocations: 26.96 MB / 0.7256 GB, free: 49.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/1.89, allocations: 129.4 kB / 0.7257 GB, free: 49.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009817/1.9, allocations: 5.906 MB / 0.7315 GB, free: 43.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001405/1.901, allocations: 111 kB / 0.7316 GB, free: 43.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004062/1.905, allocations: 6.279 MB / 0.7377 GB, free: 36.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002199/1.908, allocations: 1.762 MB / 0.7394 GB, free: 35.17 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009584/1.909, allocations: 0.6205 MB / 0.74 GB, free: 34.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.909, allocations: 301.1 kB / 0.7403 GB, free: 34.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005061/1.914, allocations: 3.736 MB / 0.744 GB, free: 30.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006247/1.92, allocations: 6.828 MB / 0.7506 GB, free: 22.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.933, allocations: 11.24 MB / 0.7616 GB, free: 9.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.933, allocations: 32 kB / 0.7616 GB, free: 9.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.0238/1.956, allocations: 12.51 MB / 0.7739 GB, free: 12.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/1.957, allocations: 48 kB / 0.7739 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.957, allocations: 104 kB / 0.774 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005187/1.962, allocations: 1.598 MB / 0.7756 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008237/1.97, allocations: 1.743 MB / 0.7773 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2708/2.241, allocations: 18.23 MB / 0.7951 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007011/2.248, allocations: 441.6 kB / 0.7955 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/2.25, allocations: 392.6 kB / 0.7959 GB, free: 150.7 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.00966/2.259, allocations: 5.25 MB / 0.801 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/2.261, allocations: 0.6088 MB / 0.8016 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/2.277, allocations: 9.488 MB / 0.8108 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008562/2.285, allocations: 5.964 MB / 0.8167 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-05/2.285, allocations: 18.91 kB / 0.8167 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/2.285, allocations: 25.22 kB / 0.8167 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/2.319, allocations: 21.24 MB / 0.8375 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/2.319, allocations: 7.797 kB / 0.8375 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/2.323, allocations: 0.865 MB / 0.8383 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00469/2.328, allocations: 1.648 MB / 0.8399 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009467/2.329, allocations: 123.2 kB / 0.84 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/2.349, allocations: 21.39 MB / 0.8609 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/2.349, allocations: 7.938 kB / 0.8609 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/2.37, allocations: 13.89 MB / 0.8745 GB, free: 93.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004118/2.374, allocations: 1.38 MB / 0.8758 GB, free: 92.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001858/2.376, allocations: 108 kB / 0.876 GB, free: 92.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004292/2.38, allocations: 303.6 kB / 0.8762 GB, free: 92.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/2.381, allocations: 409.6 kB / 0.8766 GB, free: 92.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/2.381, allocations: 152 kB / 0.8768 GB, free: 91.94 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006979/2.388, allocations: 3.965 MB / 0.8806 GB, free: 88.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.7e-07/2.388, allocations: 0 / 0.8806 GB, free: 88.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01144/2.4, allocations: 2.379 MB / 0.883 GB, free: 85.64 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.001437/2.401, allocations: 318.7 kB / 0.8833 GB, free: 85.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01689/2.418, allocations: 10.11 MB / 0.8931 GB, free: 75.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.832e-05/2.418, allocations: 3.938 kB / 0.8931 GB, free: 75.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01075/2.429, allocations: 5.505 MB / 0.8985 GB, free: 69.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01748/2.447, allocations: 1.545 MB / 0.9 GB, free: 68.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05839/2.505, allocations: 31.48 MB / 0.9308 GB, free: 36.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01939/2.525, allocations: 8.93 MB / 0.9395 GB, free: 27.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01369/2.538, allocations: 2.587 MB / 0.942 GB, free: 24.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003601/2.542, allocations: 467.3 kB / 0.9425 GB, free: 24.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/2.542, allocations: 4 kB / 0.9425 GB, free: 24.4 MB / 478.1 MB Notification: Performance of Templates: time 0.4079/2.95, allocations: 98.19 MB / 1.038 GB, free: 86.7 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)