Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001538/0.001538, allocations: 110.5 kB / 17.06 MB, free: 6.141 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.001743/0.001743, allocations: 192 kB / 18 MB, free: 5.219 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.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001266/0.001266, allocations: 56.39 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.0908, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.2036/0.2944, allocations: 13.57 MB / 388.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008021/0.3025, allocations: 4.443 MB / 392.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.3043, allocations: 67.06 kB / 392.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.3066, allocations: 1.038 MB / 393.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.3099, allocations: 1.344 MB / 395 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3117, allocations: 0.9086 MB / 395.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005302/0.317, allocations: 4.102 MB / 400 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.3211, allocations: 3.193 MB / 403.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.3246, allocations: 1.899 MB / 405.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.3278, allocations: 2.085 MB / 407.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000971/0.3288, allocations: 0.5082 MB / 407.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.3306, allocations: 0.7161 MB / 408.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3317, allocations: 1.115 MB / 409.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.3345, allocations: 2.13 MB / 411.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007024/0.3415, allocations: 6.7 MB / 418.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3415, allocations: 4 kB / 418.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3415, allocations: 3.938 kB / 418.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.00012/0.3417, allocations: 1.281 kB / 418.3 MB, free: 3.598 MB / 334.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.0104/0.3521, allocations: 4.402 MB / 422.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3521, allocations: 8.031 kB / 422.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.3562, allocations: 0.8201 MB / 423.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.3602, allocations: 2.287 MB / 425.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.3603, allocations: 238.8 kB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005188/0.3609, allocations: 324.3 kB / 426.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007316/0.3682, allocations: 4.27 MB / 430.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.261e-05/0.3683, allocations: 4 kB / 430.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.3686, allocations: 128 kB / 430.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.3687, allocations: 150.4 kB / 430.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.3748, allocations: 3.59 MB / 434.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02015/0.395, allocations: 13.71 MB / 448.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006377/0.4014, allocations: 6.559 MB / 454.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.4036, allocations: 1.39 MB / 456.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00582/0.4095, allocations: 3.624 MB / 459.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4095, allocations: 51.88 kB / 459.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.055e-06/0.4095, allocations: 0 / 459.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01113/0.4207, allocations: 5.882 MB / 465.8 MB, free: 2.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4208, allocations: 64.72 kB / 465.8 MB, free: 2.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.4233, allocations: 1.784 MB / 467.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/0.4234, allocations: 45.7 kB / 467.7 MB, free: 0.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.4244, allocations: 1.446 MB / 469.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.4247, allocations: 481.1 kB / 469.6 MB, free: 14.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/0.4252, allocations: 311.3 kB / 469.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4253, allocations: 305.1 kB / 470.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.4264, allocations: 0.6793 MB / 470.8 MB, free: 13.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.4279, allocations: 1.201 MB / 472 MB, free: 12.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/0.4304, allocations: 1.995 MB / 474 MB, free: 9.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.4305, allocations: 11.94 kB / 474.1 MB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004047/0.4345, allocations: 2.535 MB / 476.6 MB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4346, allocations: 15.94 kB / 476.6 MB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.4346, allocations: 16 kB / 476.6 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009878/0.4356, allocations: 364.4 kB / 477 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4369, allocations: 379.4 kB / 477.3 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/0.4444, allocations: 8.41 MB / 485.8 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4459, allocations: 75.88 kB / 485.8 MB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.4461, allocations: 75.98 kB / 485.9 MB, free: 13.35 MB / 414.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.001841/0.4479, allocations: 1.001 MB / 486.9 MB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.4484, allocations: 193.7 kB / 487.1 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.4523, allocations: 2.293 MB / 489.4 MB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4523, allocations: 16 kB / 489.4 MB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.4523, allocations: 8 kB / 489.4 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4524, allocations: 7.969 kB / 489.4 MB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008305/0.4607, allocations: 5.075 MB / 494.5 MB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4607, allocations: 0 / 494.5 MB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.4615, allocations: 179.7 kB / 494.7 MB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.4629, allocations: 0.5243 MB / 495.2 MB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.4631, allocations: 35.98 kB / 495.2 MB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.4754, allocations: 13.22 MB / 0.4965 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4754, allocations: 7.969 kB / 0.4965 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.4807, allocations: 3.218 MB / 0.4997 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009551/0.4816, allocations: 426.6 kB / 0.5001 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.482, allocations: 39.94 kB / 0.5001 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.483, allocations: 55.95 kB / 0.5002 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.4833, allocations: 113.2 kB / 0.5003 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/0.4834, allocations: 39.98 kB / 0.5003 GB, free: 1.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001978/0.4854, allocations: 1.219 MB / 0.5015 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4854, allocations: 0 / 0.5015 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0024/0.4878, allocations: 0.5782 MB / 0.5021 GB, free: 15.94 MB / 446.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.0003393/0.4881, allocations: 167.2 kB / 0.5022 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.4918, allocations: 2.362 MB / 0.5046 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4918, allocations: 384 / 0.5046 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.4943, allocations: 1.756 MB / 0.5063 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.4968, allocations: 0.5453 MB / 0.5068 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.508, allocations: 5.832 MB / 0.5125 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/0.5106, allocations: 2.303 MB / 0.5147 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001223/0.5118, allocations: 397 kB / 0.5151 GB, free: 2.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.5122, allocations: 127.4 kB / 0.5152 GB, free: 2.23 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5122, allocations: 0 / 0.5152 GB, free: 2.23 MB / 446.1 MB Notification: Performance of Templates: time 0.05311/0.5653, allocations: 30.24 MB / 0.5448 GB, free: 3.93 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)