Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001414/0.001414, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001541/0.001541, allocations: 195 kB / 16.25 MB, free: 6.625 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.326/1.326, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.001127/0.001127, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2099, allocations: 46.62 MB / 324.9 MB, free: 2.172 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01591/0.2258, allocations: 13.42 MB / 338.3 MB, free: 6.805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009844/0.2357, allocations: 4.374 MB / 342.6 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.2384, allocations: 67.69 kB / 342.7 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.2415, allocations: 0.8706 MB / 343.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.2457, allocations: 1.181 MB / 344.8 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.2479, allocations: 0.8227 MB / 345.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005164/0.253, allocations: 4.239 MB / 349.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.2566, allocations: 3.185 MB / 353 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.2589, allocations: 1.776 MB / 354.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.2615, allocations: 2.063 MB / 356.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007352/0.2623, allocations: 0.5039 MB / 357.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.2636, allocations: 0.7146 MB / 358.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008763/0.2645, allocations: 1.114 MB / 359.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.2666, allocations: 2.136 MB / 361.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005772/0.2724, allocations: 6.625 MB / 367.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2724, allocations: 0 / 367.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2724, allocations: 0 / 367.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.2725, allocations: 0 / 367.9 MB, free: 8.973 MB / 302.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.01015/0.2827, allocations: 4.398 MB / 372.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2828, allocations: 12.03 kB / 372.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.2869, allocations: 0.8163 MB / 373.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.2907, allocations: 2.213 MB / 375.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.2909, allocations: 246.8 kB / 375.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/0.2914, allocations: 324 kB / 375.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006981/0.2984, allocations: 4.267 MB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/0.2985, allocations: 7.984 kB / 380.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.2988, allocations: 132 kB / 380.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.2989, allocations: 150.4 kB / 380.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.3046, allocations: 3.59 MB / 384.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.3243, allocations: 13.87 MB / 398 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006164/0.3305, allocations: 6.582 MB / 404.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.3327, allocations: 1.394 MB / 405.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005713/0.3384, allocations: 3.628 MB / 409.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3385, allocations: 47.88 kB / 409.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.915e-06/0.3385, allocations: 0 / 409.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01133/0.3498, allocations: 5.89 MB / 415.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3499, allocations: 64.72 kB / 415.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.3526, allocations: 1.78 MB / 417.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/0.3527, allocations: 53.7 kB / 417.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009594/0.3536, allocations: 1.43 MB / 418.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.354, allocations: 485.1 kB / 419.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.3545, allocations: 319.2 kB / 419.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3546, allocations: 305.1 kB / 419.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.3556, allocations: 0.6793 MB / 420.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.357, allocations: 1.193 MB / 421.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.3595, allocations: 2.007 MB / 423.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.3595, allocations: 4 kB / 423.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003774/0.3633, allocations: 2.535 MB / 426.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3634, allocations: 15.98 kB / 426.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.3634, allocations: 16 kB / 426.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008948/0.3643, allocations: 364.3 kB / 426.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.3656, allocations: 379.4 kB / 427.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.3727, allocations: 8.422 MB / 435.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3739, allocations: 75.97 kB / 435.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.3741, allocations: 79.98 kB / 435.7 MB, free: 2.414 MB / 366.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.001512/0.3756, allocations: 1.001 MB / 436.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.3759, allocations: 193.6 kB / 436.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3795, allocations: 2.289 MB / 439.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3795, allocations: 16 kB / 439.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3796, allocations: 12 kB / 439.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.3796, allocations: 7.969 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.3866, allocations: 5.067 MB / 444.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3866, allocations: 0 / 444.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.3874, allocations: 171.8 kB / 444.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.3887, allocations: 0.5401 MB / 444.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.3888, allocations: 39.98 kB / 445 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1552/0.5441, allocations: 13.23 MB / 458.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5441, allocations: 1.781 kB / 458.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.5487, allocations: 3.224 MB / 461.4 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007631/0.5495, allocations: 419.6 kB / 461.9 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.5497, allocations: 32.64 kB / 461.9 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.5506, allocations: 68.31 kB / 462 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.5509, allocations: 105.8 kB / 462.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.551, allocations: 43.92 kB / 462.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.5527, allocations: 1.226 MB / 463.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5527, allocations: 1.406 kB / 463.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001961/0.5546, allocations: 0.5775 MB / 463.9 MB, free: 103.6 MB / 382.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.0002843/0.5549, allocations: 161.9 kB / 464.1 MB, free: 103.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003892/0.5588, allocations: 2.702 MB / 466.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5588, allocations: 1.312 kB / 466.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.5608, allocations: 1.742 MB / 468.5 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.5627, allocations: 0.5434 MB / 469 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.5703, allocations: 7.228 MB / 476.3 MB, free: 96.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.5717, allocations: 2.305 MB / 478.6 MB, free: 94.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001177/0.5729, allocations: 393.5 kB / 479 MB, free: 94.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.5732, allocations: 124.4 kB / 479.1 MB, free: 94.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5732, allocations: 4 kB / 479.1 MB, free: 94.45 MB / 382.1 MB Notification: Performance of Templates: time 0.03948/0.6127, allocations: 29.66 MB / 0.4968 GB, free: 65 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)