Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 100.4 kB / 16.5 MB, free: 6.656 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.001026/0.001026, allocations: 195.1 kB / 17.42 MB, free: 6.062 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.375/1.375, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001244/0.001244, allocations: 47.94 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09389, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01645/0.1104, allocations: 13.43 MB / 339.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008937/0.1194, allocations: 4.393 MB / 343.8 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.122, allocations: 67.69 kB / 343.9 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.1252, allocations: 0.859 MB / 344.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.1297, allocations: 1.181 MB / 345.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.1323, allocations: 0.8382 MB / 346.7 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.1382, allocations: 4.332 MB / 351.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.1414, allocations: 2.643 MB / 353.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.1438, allocations: 1.514 MB / 355.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.1464, allocations: 1.914 MB / 357.1 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005869/0.147, allocations: 300 kB / 357.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.1483, allocations: 0.5036 MB / 357.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007977/0.1491, allocations: 0.8953 MB / 358.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.1512, allocations: 1.893 MB / 360.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006168/0.1573, allocations: 6.484 MB / 367.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1574, allocations: 0 / 367.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1574, allocations: 4 kB / 367.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001672/0.1576, allocations: 0 / 367.2 MB, free: 11.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01295/0.1705, allocations: 4.387 MB / 371.6 MB, free: 6.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1706, allocations: 8.031 kB / 371.6 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.1756, allocations: 0.8202 MB / 372.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/0.181, allocations: 2.221 MB / 374.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.1813, allocations: 246.8 kB / 374.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.1823, allocations: 328 kB / 375.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1709/0.3533, allocations: 4.255 MB / 379.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-05/0.3534, allocations: 7.594 kB / 379.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.3537, allocations: 132.5 kB / 379.6 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.3539, allocations: 149.8 kB / 379.7 MB, free: 48.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.3606, allocations: 3.593 MB / 383.3 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/0.3811, allocations: 13.88 MB / 397.2 MB, free: 38.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/0.3866, allocations: 6.572 MB / 403.8 MB, free: 32.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.3886, allocations: 1.391 MB / 405.2 MB, free: 31.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00544/0.394, allocations: 3.639 MB / 408.8 MB, free: 28.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3941, allocations: 51.41 kB / 408.9 MB, free: 28.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 3.407e-06/0.3941, allocations: 0 / 408.9 MB, free: 28.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.01057/0.4047, allocations: 5.873 MB / 414.7 MB, free: 24.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4048, allocations: 68.72 kB / 414.8 MB, free: 24.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.4074, allocations: 1.784 MB / 416.6 MB, free: 23.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.4075, allocations: 49.7 kB / 416.6 MB, free: 23.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007289/0.4083, allocations: 1.438 MB / 418.1 MB, free: 21.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.4086, allocations: 472.3 kB / 418.5 MB, free: 21.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/0.409, allocations: 324.3 kB / 418.9 MB, free: 20.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.4091, allocations: 305.1 kB / 419.2 MB, free: 20.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009205/0.41, allocations: 0.6793 MB / 419.8 MB, free: 19.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.4111, allocations: 1.193 MB / 421 MB, free: 18.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.4132, allocations: 2.003 MB / 423 MB, free: 16.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.4133, allocations: 8 kB / 423 MB, free: 16.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003522/0.4168, allocations: 2.538 MB / 425.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4168, allocations: 12 kB / 425.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.4169, allocations: 19.98 kB / 425.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008905/0.4178, allocations: 362.8 kB / 426 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.419, allocations: 383 kB / 426.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.4246, allocations: 7.704 MB / 434 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.4262, allocations: 75.97 kB / 434.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/0.4265, allocations: 75.98 kB / 434.2 MB, free: 4.504 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,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.001875/0.4284, allocations: 1.001 MB / 435.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.4289, allocations: 193.6 kB / 435.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.4326, allocations: 2.293 MB / 437.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4326, allocations: 12 kB / 437.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/0.4327, allocations: 8 kB / 437.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4327, allocations: 7.969 kB / 437.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009894/0.4426, allocations: 5.068 MB / 442.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.4426, allocations: 4 kB / 442.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.4434, allocations: 176 kB / 442.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.445, allocations: 0.5307 MB / 443.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.4452, allocations: 43.92 kB / 443.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.4576, allocations: 12.07 MB / 455.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4576, allocations: 4.031 kB / 455.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.4628, allocations: 3.217 MB / 458.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009648/0.4638, allocations: 433.5 kB / 459.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004815/0.4643, allocations: 32 kB / 459.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.4654, allocations: 63.95 kB / 459.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.4657, allocations: 105.1 kB / 459.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.4658, allocations: 40.64 kB / 459.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002291/0.4681, allocations: 1.223 MB / 460.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4681, allocations: 4 kB / 460.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002421/0.4705, allocations: 0.5823 MB / 461.3 MB, free: 8.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.4709, allocations: 163 kB / 461.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.4745, allocations: 2.355 MB / 463.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4745, allocations: 4 kB / 463.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002527/0.4771, allocations: 1.743 MB / 465.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.48, allocations: 0.5155 MB / 466.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.4919, allocations: 7.232 MB / 473.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.4946, allocations: 2.311 MB / 475.6 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001701/0.4963, allocations: 401 kB / 476 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.4968, allocations: 123.4 kB / 476.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4968, allocations: 0 / 476.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of Templates: time 0.05185/0.5487, allocations: 28.59 MB / 0.4929 GB, free: 12.68 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)