Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001357/0.001357, allocations: 108 kB / 15.6 MB, free: 132 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.001751/0.001751, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.487/1.487, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.00122/0.001221, allocations: 59.91 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.274, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04445/0.3185, allocations: 45.34 MB / 370.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03284/0.3514, allocations: 11.73 MB / 382.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01285/0.3643, allocations: 298.9 kB / 382.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03038/0.3948, allocations: 12.39 MB / 395.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0207/0.4155, allocations: 4.836 MB / 399.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.4277, allocations: 2.978 MB / 402.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03275/0.4605, allocations: 20.95 MB / 423.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5191/0.9796, allocations: 42.15 MB / 466 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02335/1.003, allocations: 10.97 MB / 477 MB, free: 21.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02209/1.025, allocations: 12.16 MB / 489.1 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01153/1.037, allocations: 3.143 MB / 492.3 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/1.052, allocations: 3.555 MB / 495.8 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01413/1.066, allocations: 6.314 MB / 0.4904 GB, free: 19.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0331/1.099, allocations: 11.98 MB / 0.5021 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05045/1.15, allocations: 41.16 MB / 0.5423 GB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.15, allocations: 4 kB / 0.5423 GB, free: 4.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/1.15, allocations: 0 / 0.5423 GB, free: 4.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001218/1.151, allocations: 0 / 0.5423 GB, free: 4.609 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08246/1.234, allocations: 24.14 MB / 0.5658 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.234, allocations: 8.031 kB / 0.5658 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06776/1.302, allocations: 12.28 MB / 0.5778 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02949/1.331, allocations: 12.06 MB / 0.5896 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/1.333, allocations: 1.374 MB / 0.591 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008141/1.341, allocations: 1.817 MB / 0.5927 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07384/1.415, allocations: 30.03 MB / 0.6221 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008028/1.415, allocations: 27.45 kB / 0.6221 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006683/1.422, allocations: 0.7463 MB / 0.6228 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/1.423, allocations: 1.019 MB / 0.6238 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4095/1.833, allocations: 27.94 MB / 0.6511 GB, free: 162.6 MB / 494.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1463/1.979, allocations: 95.38 MB / 0.7442 GB, free: 75.24 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03602/2.015, allocations: 63.43 MB / 0.8062 GB, free: 5.824 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2409/2.256, allocations: 7.451 MB / 0.8135 GB, free: 152 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03458/2.291, allocations: 20.57 MB / 0.8335 GB, free: 145.4 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/2.291, allocations: 107.8 kB / 0.8336 GB, free: 145.3 MB / 494.2 MB Notification: Performance of pre-optimization done (n=677): time 9.147e-06/2.291, allocations: 0 / 0.8336 GB, free: 145.3 MB / 494.2 MB Notification: Performance of matching and sorting (n=685): time 0.08637/2.377, allocations: 38.28 MB / 0.871 GB, free: 129.5 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/2.377, allocations: 148.7 kB / 0.8712 GB, free: 129.4 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/2.392, allocations: 7.256 MB / 0.8783 GB, free: 126.8 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001631/2.394, allocations: 136.8 kB / 0.8784 GB, free: 126.7 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004893/2.399, allocations: 7.943 MB / 0.8861 GB, free: 120.7 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.003072/2.402, allocations: 2.33 MB / 0.8884 GB, free: 118.5 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003499/2.405, allocations: 1.929 MB / 0.8903 GB, free: 116.6 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/2.405, allocations: 301.1 kB / 0.8906 GB, free: 116.3 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007346/2.413, allocations: 4.92 MB / 0.8954 GB, free: 111.4 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/2.423, allocations: 8.635 MB / 0.9038 GB, free: 101 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/2.441, allocations: 14.37 MB / 0.9179 GB, free: 84.91 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/2.441, allocations: 36 kB / 0.9179 GB, free: 84.87 MB / 494.2 MB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.03158/2.473, allocations: 16.39 MB / 0.9339 GB, free: 68.31 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/2.473, allocations: 56.81 kB / 0.934 GB, free: 68.26 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/2.473, allocations: 128 kB / 0.9341 GB, free: 68.13 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006341/2.48, allocations: 2.604 MB / 0.9366 GB, free: 65.5 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008828/2.488, allocations: 2.184 MB / 0.9388 GB, free: 63.32 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03085/2.519, allocations: 30.81 MB / 0.9688 GB, free: 31.39 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007985/2.527, allocations: 0.546 MB / 0.9694 GB, free: 30.85 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/2.529, allocations: 483.9 kB / 0.9698 GB, free: 30.38 MB / 494.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (1128): * Single equations (assignments): 1118 * 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.01341/2.543, allocations: 6.822 MB / 0.9765 GB, free: 23.54 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/2.546, allocations: 0.7717 MB / 0.9773 GB, free: 22.76 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2124/2.758, allocations: 13.1 MB / 0.9901 GB, free: 136.2 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01301/2.771, allocations: 8.222 MB / 0.9981 GB, free: 135.5 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.757e-05/2.771, allocations: 27.59 kB / 0.9981 GB, free: 135.5 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.974e-05/2.771, allocations: 34.5 kB / 0.9981 GB, free: 135.5 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04509/2.816, allocations: 28.05 MB / 1.026 GB, free: 124 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/2.816, allocations: 3.969 kB / 1.026 GB, free: 124 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004551/2.821, allocations: 1.107 MB / 1.027 GB, free: 124 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/2.827, allocations: 2.661 MB / 1.029 GB, free: 123.2 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000997/2.828, allocations: 155.1 kB / 1.029 GB, free: 123.1 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/2.862, allocations: 35.86 MB / 1.064 GB, free: 97.91 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.862, allocations: 7.688 kB / 1.064 GB, free: 97.91 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02897/2.891, allocations: 18.78 MB / 1.083 GB, free: 85.86 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004869/2.896, allocations: 1.774 MB / 1.084 GB, free: 84.47 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002725/2.898, allocations: 120 kB / 1.085 GB, free: 84.36 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005825/2.904, allocations: 401 kB / 1.085 GB, free: 83.97 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002294/2.907, allocations: 0.5252 MB / 1.085 GB, free: 83.44 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001046/2.908, allocations: 196.1 kB / 1.086 GB, free: 83.25 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.009276/2.917, allocations: 4.875 MB / 1.09 GB, free: 78.41 MB / 494.2 MB Notification: Performance of sort global known variables: time 6.51e-07/2.917, allocations: 0 / 1.09 GB, free: 78.41 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.01256/2.929, allocations: 3.087 MB / 1.093 GB, free: 75.32 MB / 494.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,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 (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/2.931, allocations: 363.1 kB / 1.094 GB, free: 74.98 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.05056/2.982, allocations: 25.01 MB / 1.118 GB, free: 49.92 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/2.982, allocations: 5.812 kB / 1.118 GB, free: 49.92 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.012/2.994, allocations: 7.588 MB / 1.126 GB, free: 42.24 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/3.007, allocations: 2.15 MB / 1.128 GB, free: 40.09 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06152/3.068, allocations: 32.69 MB / 1.16 GB, free: 7.402 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2572/3.326, allocations: 11.43 MB / 1.171 GB, free: 142.2 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01269/3.338, allocations: 3.36 MB / 1.174 GB, free: 142 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003149/3.342, allocations: 0.5728 MB / 1.175 GB, free: 142 MB / 0.4983 GB Notification: Performance of SimCode: time 1.252e-06/3.342, allocations: 0 / 1.175 GB, free: 142 MB / 0.4983 GB Notification: Performance of Templates: time 0.2077/3.549, allocations: 136.8 MB / 1.308 GB, free: 41.04 MB / 0.4983 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)