Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001099/0.001099, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 4.762 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.001166/0.001166, allocations: 55.92 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2309, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01454/0.2454, allocations: 13.43 MB / 338.1 MB, free: 6.688 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009004/0.2545, allocations: 4.393 MB / 342.5 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.2576, allocations: 67.69 kB / 342.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.2605, allocations: 0.8667 MB / 343.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.2658, allocations: 1.181 MB / 344.6 MB, free: 160 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.2679, allocations: 0.8347 MB / 345.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.2737, allocations: 4.336 MB / 349.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.2773, allocations: 2.631 MB / 352.4 MB, free: 8.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.2799, allocations: 1.514 MB / 353.9 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.2824, allocations: 1.91 MB / 355.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.2829, allocations: 304 kB / 356.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.2844, allocations: 0.5036 MB / 356.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009321/0.2854, allocations: 0.8992 MB / 357.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.2877, allocations: 1.893 MB / 359.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.2939, allocations: 6.484 MB / 365.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.294, allocations: 0 / 365.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.294, allocations: 0 / 365.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000166/0.2941, allocations: 0 / 365.9 MB, free: 10.72 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.01463/0.3088, allocations: 4.387 MB / 370.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3088, allocations: 8.031 kB / 370.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.3141, allocations: 0.8241 MB / 371.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.3189, allocations: 2.221 MB / 373.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.3191, allocations: 242.8 kB / 373.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005641/0.3196, allocations: 328 kB / 373.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007408/0.3271, allocations: 4.267 MB / 378.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.3272, allocations: 3.938 kB / 378.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.3275, allocations: 128 kB / 378.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.3276, allocations: 154.4 kB / 378.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005815/0.3334, allocations: 3.59 MB / 382.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/0.3544, allocations: 13.89 MB / 395.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006632/0.361, allocations: 6.571 MB / 402.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.3633, allocations: 1.398 MB / 403.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006865/0.3702, allocations: 3.628 MB / 407.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.3703, allocations: 51.81 kB / 407.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 3.306e-06/0.3703, allocations: 0 / 407.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01231/0.3826, allocations: 5.871 MB / 413.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3827, allocations: 68.72 kB / 413.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.3862, allocations: 1.784 MB / 415.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.3864, allocations: 49.7 kB / 415.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.3875, allocations: 1.438 MB / 416.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.3879, allocations: 477.1 kB / 417.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/0.3884, allocations: 319.2 kB / 417.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.3885, allocations: 305.1 kB / 417.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3897, allocations: 0.6754 MB / 418.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.3911, allocations: 1.201 MB / 419.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.3937, allocations: 1.999 MB / 421.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3937, allocations: 4 kB / 421.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004192/0.3979, allocations: 2.543 MB / 424.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3979, allocations: 16.06 kB / 424.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.398, allocations: 16 kB / 424.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.399, allocations: 364 kB / 424.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.4004, allocations: 383.4 kB / 425.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/0.4079, allocations: 7.701 MB / 432.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.4095, allocations: 83.8 kB / 432.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.4097, allocations: 75.92 kB / 432.9 MB, free: 4.906 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.002017/0.4117, allocations: 1.009 MB / 433.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/0.4122, allocations: 197.6 kB / 434.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.4165, allocations: 2.282 MB / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4165, allocations: 12 kB / 436.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/0.4166, allocations: 12 kB / 436.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4166, allocations: 11.95 kB / 436.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009623/0.4262, allocations: 5.075 MB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.4263, allocations: 4 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.4271, allocations: 171.8 kB / 441.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.4287, allocations: 0.5321 MB / 442.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4289, allocations: 35.98 kB / 442.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.194/0.6228, allocations: 12.08 MB / 454.3 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.6229, allocations: 3.594 kB / 454.3 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/0.6288, allocations: 3.222 MB / 457.5 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/0.6297, allocations: 423.2 kB / 458 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.6302, allocations: 38.22 kB / 458 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.6313, allocations: 60.05 kB / 458.1 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.6316, allocations: 109.5 kB / 458.2 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6317, allocations: 38.11 kB / 458.2 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00213/0.6338, allocations: 1.227 MB / 459.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6338, allocations: 1.031 kB / 459.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002369/0.6362, allocations: 0.5773 MB / 460 MB, free: 106.9 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.0003142/0.6365, allocations: 156.1 kB / 460.2 MB, free: 106.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.6396, allocations: 2.36 MB / 462.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6396, allocations: 3.938 kB / 462.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.6417, allocations: 1.747 MB / 464.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.6441, allocations: 0.5045 MB / 464.8 MB, free: 104.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009345/0.6535, allocations: 7.228 MB / 472 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.6555, allocations: 2.301 MB / 474.3 MB, free: 98.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001419/0.6569, allocations: 404.3 kB / 474.7 MB, free: 98.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.6572, allocations: 122.4 kB / 474.8 MB, free: 98.55 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6573, allocations: 1.641 kB / 474.8 MB, free: 98.55 MB / 382.1 MB Notification: Performance of Templates: time 0.04481/0.7021, allocations: 28.6 MB / 0.4916 GB, free: 70.38 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)