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.001206/0.001206, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001396/0.001396, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004846/0.0004846, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01647/0.2283, allocations: 11.94 MB / 338.4 MB, free: 7.512 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.2398, allocations: 4.13 MB / 342.6 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.242, allocations: 63.75 kB / 342.6 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.2449, allocations: 0.734 MB / 343.4 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.2491, allocations: 1.072 MB / 344.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.2513, allocations: 0.6236 MB / 345 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007097/0.2584, allocations: 4.059 MB / 349.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004161/0.2626, allocations: 2.186 MB / 351.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.2648, allocations: 1.292 MB / 352.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.2672, allocations: 1.622 MB / 354.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000484/0.2677, allocations: 208 kB / 354.4 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.269, allocations: 399.8 kB / 354.8 MB, free: 7.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009452/0.27, allocations: 0.7434 MB / 355.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.271, allocations: 0.746 MB / 356.3 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006946/0.278, allocations: 5.469 MB / 361.8 MB, free: 60 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.278, allocations: 0 / 361.8 MB, free: 60 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.278, allocations: 0 / 361.8 MB, free: 60 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.793e-05/0.2781, allocations: 0 / 361.8 MB, free: 60 kB / 286.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.01245/0.2906, allocations: 3.747 MB / 365.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2906, allocations: 12.03 kB / 365.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006659/0.2973, allocations: 0.8154 MB / 366.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/0.3028, allocations: 2.17 MB / 368.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.3031, allocations: 242.5 kB / 368.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000735/0.3039, allocations: 319.9 kB / 369.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.3148, allocations: 4.243 MB / 373.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-05/0.3149, allocations: 7.844 kB / 373.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.3154, allocations: 136 kB / 373.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.3156, allocations: 146.4 kB / 373.6 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009807/0.3254, allocations: 3.578 MB / 377.2 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03239/0.3578, allocations: 13.94 MB / 391.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009924/0.3678, allocations: 6.555 MB / 397.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/0.3714, allocations: 1.398 MB / 399 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008619/0.38, allocations: 3.651 MB / 402.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.3801, allocations: 47.88 kB / 402.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 6.372e-06/0.3801, allocations: 4 kB / 402.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=137): time 0.017/0.3971, allocations: 5.937 MB / 408.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.3972, allocations: 72.59 kB / 408.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.4009, allocations: 1.772 MB / 410.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.401, allocations: 53.7 kB / 410.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.4025, allocations: 1.423 MB / 412 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/0.4031, allocations: 489 kB / 412.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.4032, allocations: 36 kB / 412.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.4035, allocations: 369.9 kB / 412.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.4052, allocations: 0.6793 MB / 413.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.4074, allocations: 1.197 MB / 414.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.4096, allocations: 0.8964 MB / 415.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.4097, allocations: 8 kB / 415.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.006264/0.4159, allocations: 2.531 MB / 418.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.416, allocations: 12 kB / 418.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.416, allocations: 16 kB / 418.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.4174, allocations: 364.1 kB / 418.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.4196, allocations: 375.4 kB / 418.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/0.4278, allocations: 7.674 MB / 426.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4292, allocations: 79.97 kB / 426.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.4293, allocations: 76.17 kB / 426.8 MB, free: 12.46 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 (idealCloser.control,idealOpener.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001893/0.4312, allocations: 1.009 MB / 427.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.4315, allocations: 197.7 kB / 428 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.4354, allocations: 2.282 MB / 430.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4354, allocations: 15.95 kB / 430.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.4354, allocations: 8 kB / 430.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.4354, allocations: 7.969 kB / 430.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.443, allocations: 5.071 MB / 435.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.443, allocations: 4 kB / 435.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.4438, allocations: 175.8 kB / 435.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.4451, allocations: 0.5282 MB / 436.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.4452, allocations: 35.98 kB / 436.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.4568, allocations: 12.08 MB / 448.2 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4568, allocations: 3.984 kB / 448.2 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.4617, allocations: 3.218 MB / 451.4 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.4625, allocations: 426.6 kB / 451.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.4628, allocations: 36 kB / 451.8 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.4637, allocations: 67.94 kB / 451.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.4639, allocations: 109.1 kB / 452 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.464, allocations: 39.98 kB / 452.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002052/0.4661, allocations: 1.203 MB / 453.3 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4661, allocations: 0 / 453.3 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00209/0.4682, allocations: 0.582 MB / 453.8 MB, free: 232 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.4685, allocations: 167 kB / 454 MB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1585/0.627, allocations: 2.347 MB / 456.4 MB, free: 111.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6271, allocations: 1 kB / 456.4 MB, free: 111.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.6293, allocations: 1.743 MB / 458.1 MB, free: 110.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.6317, allocations: 0.516 MB / 458.6 MB, free: 110.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008721/0.6404, allocations: 7.057 MB / 465.7 MB, free: 106.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.6419, allocations: 2.307 MB / 468 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001224/0.6432, allocations: 396.8 kB / 468.4 MB, free: 105.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.6435, allocations: 130 kB / 468.5 MB, free: 105.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6435, allocations: 0 / 468.5 MB, free: 105.6 MB / 382.1 MB Notification: Performance of Templates: time 0.03756/0.681, allocations: 27.53 MB / 496 MB, free: 79.71 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)