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.001777/0.001777, allocations: 108 kB / 15.61 MB, free: 152 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.002064/0.002064, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.484/1.484, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.002174/0.002174, allocations: 60.34 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1996, allocations: 46.63 MB / 325.3 MB, free: 1.969 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01376/0.2134, allocations: 13.58 MB / 338.9 MB, free: 6.398 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.2215, allocations: 4.42 MB / 343.3 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.2231, allocations: 71.69 kB / 343.4 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.2253, allocations: 0.9938 MB / 344.4 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.2285, allocations: 1.312 MB / 345.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.2304, allocations: 0.904 MB / 346.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004384/0.2348, allocations: 4.079 MB / 350.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.2382, allocations: 3.201 MB / 353.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.2406, allocations: 1.881 MB / 355.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.243, allocations: 2.082 MB / 357.8 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006675/0.2437, allocations: 0.5078 MB / 358.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.245, allocations: 0.7224 MB / 359.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009035/0.2459, allocations: 1.118 MB / 360.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.248, allocations: 2.136 MB / 362.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.2537, allocations: 6.652 MB / 369 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2537, allocations: 0 / 369 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2537, allocations: 0 / 369 MB, free: 8.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.652e-05/0.2538, allocations: 0 / 369 MB, free: 8.152 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.009603/0.2634, allocations: 4.402 MB / 373.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2634, allocations: 12.02 kB / 373.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.2676, allocations: 0.8124 MB / 374.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/0.2711, allocations: 2.268 MB / 376.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.2712, allocations: 242.8 kB / 376.7 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/0.2717, allocations: 324.1 kB / 377 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/0.2783, allocations: 4.266 MB / 381.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.517e-05/0.2784, allocations: 7.906 kB / 381.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.2787, allocations: 136 kB / 381.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.2788, allocations: 142.4 kB / 381.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005684/0.2845, allocations: 3.594 MB / 385.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.304, allocations: 13.87 MB / 399 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/0.3105, allocations: 6.571 MB / 405.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.3128, allocations: 1.39 MB / 407 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005653/0.3184, allocations: 3.647 MB / 410.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.3185, allocations: 47.81 kB / 410.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 3.476e-06/0.3185, allocations: 0 / 410.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.0109/0.3294, allocations: 5.871 MB / 416.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.3295, allocations: 64.72 kB / 416.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.3319, allocations: 1.788 MB / 418.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.332, allocations: 49.7 kB / 418.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009487/0.3329, allocations: 1.434 MB / 419.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.3333, allocations: 481.1 kB / 420.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/0.3338, allocations: 315.2 kB / 420.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3339, allocations: 305.1 kB / 421 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.335, allocations: 0.6793 MB / 421.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.3364, allocations: 1.197 MB / 422.8 MB, free: 276 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.3389, allocations: 1.999 MB / 424.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3389, allocations: 11.88 kB / 424.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003923/0.3429, allocations: 2.543 MB / 427.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3429, allocations: 12 kB / 427.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.3429, allocations: 16 kB / 427.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009176/0.3438, allocations: 368.3 kB / 427.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.3452, allocations: 379.4 kB / 428.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007576/0.3528, allocations: 8.411 MB / 436.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.3541, allocations: 75.95 kB / 436.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3543, allocations: 79.94 kB / 436.7 MB, free: 1.559 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.001636/0.3559, allocations: 1.001 MB / 437.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.3562, allocations: 201.6 kB / 437.9 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.36, allocations: 2.293 MB / 440.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3601, allocations: 12 kB / 440.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3601, allocations: 8 kB / 440.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.3601, allocations: 4.172 kB / 440.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007431/0.3675, allocations: 5.083 MB / 445.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3676, allocations: 3.938 kB / 445.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.3684, allocations: 171.8 kB / 445.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.3698, allocations: 0.5397 MB / 446 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.3699, allocations: 39.98 kB / 446.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1659/0.5357, allocations: 13.23 MB / 459.3 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5358, allocations: 6.062 kB / 459.3 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.5408, allocations: 3.217 MB / 462.5 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/0.5417, allocations: 424.9 kB / 462.9 MB, free: 103.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.5419, allocations: 34.12 kB / 463 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008284/0.5428, allocations: 62.62 kB / 463 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.5431, allocations: 105.4 kB / 463.1 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.5431, allocations: 41.48 kB / 463.2 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.5447, allocations: 1.224 MB / 464.4 MB, free: 102.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.82e-07/0.5448, allocations: 96 / 464.4 MB, free: 102.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001918/0.5467, allocations: 0.58 MB / 465 MB, free: 102.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.000301/0.547, allocations: 169.5 kB / 465.1 MB, free: 102.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.551, allocations: 2.707 MB / 467.9 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.551, allocations: 0 / 467.9 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.5531, allocations: 1.738 MB / 469.6 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5551, allocations: 0.5363 MB / 470.1 MB, free: 99.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/0.5627, allocations: 5.906 MB / 476 MB, free: 96.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.5642, allocations: 2.305 MB / 478.3 MB, free: 94.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001161/0.5653, allocations: 407 kB / 478.7 MB, free: 94.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.5656, allocations: 127 kB / 478.9 MB, free: 94.49 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5656, allocations: 0 / 478.9 MB, free: 94.49 MB / 382.1 MB Notification: Performance of Templates: time 0.04284/0.6085, allocations: 29.7 MB / 0.4966 GB, free: 64.95 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)