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.0007632/0.000763, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005341/0.005341, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.402/1.402, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.000465/0.000465, allocations: 8 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01314/0.2315, allocations: 12.77 MB / 339.8 MB, free: 6.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008159/0.2397, allocations: 4.339 MB / 344.1 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2418, allocations: 63.75 kB / 344.2 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.2445, allocations: 0.8705 MB / 345.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.2485, allocations: 1.17 MB / 346.2 MB, free: 132 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.2509, allocations: 0.8265 MB / 347.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005412/0.2563, allocations: 4.336 MB / 351.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.2594, allocations: 2.615 MB / 354 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.2613, allocations: 1.319 MB / 355.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.2635, allocations: 1.688 MB / 357 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.2639, allocations: 208 kB / 357.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009653/0.2649, allocations: 419.7 kB / 357.6 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.2656, allocations: 0.7549 MB / 358.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.2673, allocations: 1.77 MB / 360.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.2728, allocations: 6.264 MB / 366.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2728, allocations: 0 / 366.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.328e-06/0.2728, allocations: 8 kB / 366.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.2729, allocations: 0 / 366.4 MB, free: 11.79 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.009065/0.282, allocations: 3.7 MB / 370.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2821, allocations: 15.97 kB / 370.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.2865, allocations: 0.8202 MB / 371 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/0.2901, allocations: 2.213 MB / 373.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.2903, allocations: 246.8 kB / 373.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005402/0.2909, allocations: 324 kB / 373.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/0.2982, allocations: 4.282 MB / 378 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/0.2983, allocations: 0 / 378 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003795/0.2987, allocations: 132.1 kB / 378.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.2988, allocations: 146.4 kB / 378.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006441/0.3053, allocations: 3.609 MB / 381.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.326, allocations: 13.94 MB / 395.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/0.3325, allocations: 6.567 MB / 402.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.3349, allocations: 1.402 MB / 403.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005899/0.3408, allocations: 3.647 MB / 407.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3409, allocations: 51.88 kB / 407.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 2.625e-06/0.3409, allocations: 0 / 407.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=137): time 0.01108/0.352, allocations: 5.921 MB / 413.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.352, allocations: 68.72 kB / 413.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.3545, allocations: 1.78 MB / 415.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.3546, allocations: 49.7 kB / 415.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009696/0.3556, allocations: 1.438 MB / 416.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.356, allocations: 473.1 kB / 417.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.3562, allocations: 149.6 kB / 417.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3564, allocations: 305.1 kB / 417.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3575, allocations: 0.6832 MB / 418.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.359, allocations: 1.201 MB / 419.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.3617, allocations: 1.999 MB / 421.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3617, allocations: 8 kB / 421.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004269/0.366, allocations: 2.551 MB / 424.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.3661, allocations: 12.03 kB / 424.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.3661, allocations: 16 kB / 424.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009671/0.3671, allocations: 368 kB / 424.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.3684, allocations: 379.4 kB / 424.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/0.3761, allocations: 7.708 MB / 432.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.3779, allocations: 79.95 kB / 432.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3781, allocations: 72 kB / 432.7 MB, free: 6.676 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.002142/0.3802, allocations: 1.013 MB / 433.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.3806, allocations: 197.6 kB / 433.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.3846, allocations: 2.293 MB / 436.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3846, allocations: 12 kB / 436.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.3846, allocations: 8 kB / 436.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3847, allocations: 7.969 kB / 436.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007784/0.3924, allocations: 5.079 MB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3925, allocations: 8.188 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/0.3933, allocations: 175.8 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.3946, allocations: 0.5322 MB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.3947, allocations: 35.98 kB / 442.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.4064, allocations: 12.1 MB / 454.2 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4065, allocations: 8.125 kB / 454.2 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1757/0.5821, allocations: 3.217 MB / 457.4 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.583, allocations: 431.7 kB / 457.8 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.5833, allocations: 35.47 kB / 457.9 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.5841, allocations: 74.92 kB / 457.9 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.5844, allocations: 103.5 kB / 458 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.5845, allocations: 36.5 kB / 458.1 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.5863, allocations: 1.221 MB / 459.3 MB, free: 107.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5863, allocations: 3 kB / 459.3 MB, free: 107.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002343/0.5887, allocations: 0.5832 MB / 459.9 MB, free: 107.1 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.0003781/0.589, allocations: 161.6 kB / 460 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003224/0.5923, allocations: 2.361 MB / 462.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5923, allocations: 4.625 kB / 462.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.5945, allocations: 1.755 MB / 464.2 MB, free: 104.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.597, allocations: 0.505 MB / 464.7 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/0.6065, allocations: 7.39 MB / 472.1 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.6082, allocations: 2.312 MB / 474.4 MB, free: 99.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.6097, allocations: 399.4 kB / 474.8 MB, free: 98.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.61, allocations: 123.2 kB / 474.9 MB, free: 98.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.61, allocations: 0 / 474.9 MB, free: 98.67 MB / 382.1 MB Notification: Performance of Templates: time 0.0389/0.6489, allocations: 28.26 MB / 0.4913 GB, free: 70.82 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)