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.001528/0.001528, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001452/0.001452, allocations: 191 kB / 18 MB, free: 5.207 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.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001203/0.001204, allocations: 55.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07955/0.08076, allocations: 46.61 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.1901/0.2708, allocations: 13.57 MB / 388.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009375/0.2803, allocations: 4.442 MB / 392.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.2847, allocations: 67.66 kB / 392.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.2891, allocations: 1 MB / 393.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.2951, allocations: 1.309 MB / 394.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.2978, allocations: 0.8999 MB / 395.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006199/0.304, allocations: 4.107 MB / 399.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.3079, allocations: 3.192 MB / 403.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.311, allocations: 1.885 MB / 405 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.3144, allocations: 2.086 MB / 407.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007507/0.3152, allocations: 0.5079 MB / 407.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.3168, allocations: 0.7156 MB / 408.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.3178, allocations: 1.112 MB / 409.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.3203, allocations: 2.136 MB / 411.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.3269, allocations: 6.693 MB / 418.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3269, allocations: 4 kB / 418.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3269, allocations: 0 / 418.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.327, allocations: 4 kB / 418.2 MB, free: 3.645 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.01022/0.3372, allocations: 4.404 MB / 422.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3373, allocations: 8.031 kB / 422.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/0.3415, allocations: 0.8124 MB / 423.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.3464, allocations: 2.291 MB / 425.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.3466, allocations: 238.8 kB / 426 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008727/0.3475, allocations: 320.3 kB / 426.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009481/0.357, allocations: 4.274 MB / 430.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.944e-05/0.3571, allocations: 4 kB / 430.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.3575, allocations: 136 kB / 430.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.3576, allocations: 142.4 kB / 430.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007093/0.3647, allocations: 3.597 MB / 434.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.3873, allocations: 13.71 MB / 448.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006574/0.3939, allocations: 6.571 MB / 454.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.3963, allocations: 1.386 MB / 456.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006341/0.4026, allocations: 3.624 MB / 459.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4027, allocations: 59.8 kB / 459.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.046e-06/0.4027, allocations: 0 / 459.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01206/0.4148, allocations: 5.871 MB / 465.7 MB, free: 2.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4149, allocations: 72.72 kB / 465.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.4177, allocations: 1.784 MB / 467.5 MB, free: 0.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.4178, allocations: 49.7 kB / 467.6 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.4189, allocations: 1.434 MB / 469 MB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/0.4193, allocations: 481.1 kB / 469.5 MB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.4198, allocations: 311.3 kB / 469.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4199, allocations: 309.1 kB / 470.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.421, allocations: 0.6754 MB / 470.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.4223, allocations: 1.201 MB / 472 MB, free: 12.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.4248, allocations: 1.999 MB / 473.9 MB, free: 9.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4248, allocations: 4 kB / 474 MB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00411/0.4289, allocations: 2.543 MB / 476.5 MB, free: 7.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.429, allocations: 12 kB / 476.5 MB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.429, allocations: 16 kB / 476.5 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/0.43, allocations: 360.2 kB / 476.9 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4314, allocations: 379.4 kB / 477.2 MB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.4389, allocations: 8.418 MB / 485.7 MB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.4407, allocations: 75.88 kB / 485.7 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.4408, allocations: 75.98 kB / 485.8 MB, free: 13.43 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.00189/0.4427, allocations: 1.001 MB / 486.8 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.4431, allocations: 189.7 kB / 487 MB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.447, allocations: 2.289 MB / 489.3 MB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.447, allocations: 16 kB / 489.3 MB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.447, allocations: 8 kB / 489.3 MB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.447, allocations: 11.91 kB / 489.3 MB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007866/0.4549, allocations: 5.063 MB / 494.4 MB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4549, allocations: 4 kB / 494.4 MB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.4558, allocations: 183.9 kB / 494.6 MB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.4571, allocations: 0.5203 MB / 495.1 MB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.4572, allocations: 43.92 kB / 495.1 MB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/0.4693, allocations: 13.23 MB / 0.4964 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4694, allocations: 4.031 kB / 0.4964 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.4743, allocations: 3.218 MB / 0.4996 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009942/0.4754, allocations: 426.6 kB / 0.5 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.4756, allocations: 39.94 kB / 0.5 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.4765, allocations: 59.95 kB / 0.5001 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.4769, allocations: 109.8 kB / 0.5002 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/0.477, allocations: 43.97 kB / 0.5002 GB, free: 1.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.4789, allocations: 1.223 MB / 0.5014 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4789, allocations: 0 / 0.5014 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002179/0.4811, allocations: 0.5742 MB / 0.502 GB, free: 28 kB / 430.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.0003226/0.4814, allocations: 170.9 kB / 0.5022 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.4849, allocations: 2.37 MB / 0.5045 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.485, allocations: 0 / 0.5045 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002518/0.4875, allocations: 1.753 MB / 0.5062 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.4899, allocations: 0.5376 MB / 0.5067 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009781/0.4997, allocations: 5.831 MB / 0.5124 GB, free: 5.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.5017, allocations: 2.307 MB / 0.5147 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0013/0.5031, allocations: 401 kB / 0.515 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.5034, allocations: 123.4 kB / 0.5152 GB, free: 2.305 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5034, allocations: 0 / 0.5152 GB, free: 2.305 MB / 446.1 MB Notification: Performance of Templates: time 0.04978/0.5532, allocations: 30.23 MB / 0.5447 GB, free: 4.012 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)