Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 93.58 kB / 16.3 MB, free: 5.996 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.001594/0.001594, allocations: 183.4 kB / 17.2 MB, free: 5.914 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.447/1.447, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004644/0.0004645, allocations: 19.22 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09891, allocations: 47.57 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01839/0.1174, allocations: 15.61 MB / 343.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1293, allocations: 5.519 MB / 348.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.1326, allocations: 99.5 kB / 348.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.1362, allocations: 1.003 MB / 349.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.1432, allocations: 1.628 MB / 351.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.1463, allocations: 0.7875 MB / 352.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008942/0.1553, allocations: 4.262 MB / 356.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00544/0.1608, allocations: 3.543 MB / 360.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/0.1646, allocations: 1.973 MB / 362.1 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00466/0.1693, allocations: 2.436 MB / 364.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.1703, allocations: 332 kB / 364.9 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.1723, allocations: 0.5426 MB / 365.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.1737, allocations: 1.343 MB / 366.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.1755, allocations: 1.167 MB / 367.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009802/0.1853, allocations: 8.57 MB / 376.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1854, allocations: 0 / 376.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1854, allocations: 4 kB / 376.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003571/0.1858, allocations: 0 / 376.5 MB, free: 3.078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.1991/0.3849, allocations: 5.652 MB / 382.2 MB, free: 44.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.385, allocations: 13.91 kB / 382.2 MB, free: 44.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/0.3912, allocations: 1.077 MB / 383.3 MB, free: 44.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0091/0.4004, allocations: 3.334 MB / 386.6 MB, free: 43.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/0.4008, allocations: 389.9 kB / 387 MB, free: 42.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.4021, allocations: 0.5027 MB / 387.5 MB, free: 42.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.4149, allocations: 6.877 MB / 394.4 MB, free: 39.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4151, allocations: 8.031 kB / 394.4 MB, free: 39.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/0.4156, allocations: 217.3 kB / 394.6 MB, free: 39.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/0.4158, allocations: 237.7 kB / 394.8 MB, free: 39.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00925/0.4251, allocations: 5.895 MB / 400.7 MB, free: 35.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.4576, allocations: 21.41 MB / 422.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.4644, allocations: 8.679 MB / 430.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.4747, allocations: 5.117 MB / 435.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/0.4748, allocations: 64.44 kB / 436 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=227): time 5.871e-06/0.4748, allocations: 0 / 436 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=246): time 0.02652/0.5014, allocations: 11.65 MB / 447.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.5015, allocations: 77.41 kB / 447.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007474/0.509, allocations: 2.907 MB / 450.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007028/0.5097, allocations: 73.64 kB / 450.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.512, allocations: 2.291 MB / 453 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.5133, allocations: 0.8369 MB / 453.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000544/0.5139, allocations: 60 kB / 453.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003521/0.5142, allocations: 424 kB / 454.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.5173, allocations: 1.38 MB / 455.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.5207, allocations: 2.13 MB / 457.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.5242, allocations: 1.733 MB / 459.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/0.5242, allocations: 8 kB / 459.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009825/0.5341, allocations: 4.712 MB / 464.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.5342, allocations: 16 kB / 464.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.312e-05/0.5342, allocations: 27.98 kB / 464.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.5362, allocations: 0.7466 MB / 465 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.539, allocations: 0.6474 MB / 465.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.5533, allocations: 13.54 MB / 479.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.5567, allocations: 159.9 kB / 479.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007212/0.5574, allocations: 124 kB / 479.5 MB, free: 2.664 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004278/0.5617, allocations: 1.606 MB / 481.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.5629, allocations: 320.1 kB / 481.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/0.5723, allocations: 4.286 MB / 485.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.5724, allocations: 24 kB / 485.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.292e-05/0.5725, allocations: 8 kB / 485.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/0.5725, allocations: 11.95 kB / 485.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/0.5932, allocations: 9.216 MB / 494.9 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.5932, allocations: 4.5 kB / 495 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.595, allocations: 399.4 kB / 495.3 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/0.5976, allocations: 0.923 MB / 496.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002745/0.5979, allocations: 71.97 kB / 496.3 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.6163, allocations: 16.72 MB / 0.501 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.6163, allocations: 12.33 kB / 0.501 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.6288, allocations: 6.523 MB / 0.5074 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/0.6314, allocations: 0.6962 MB / 0.5081 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/0.6328, allocations: 63.98 kB / 0.5082 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/0.6353, allocations: 151.8 kB / 0.5083 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006569/0.636, allocations: 212.2 kB / 0.5085 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/0.6363, allocations: 71.97 kB / 0.5086 GB, free: 7.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004681/0.641, allocations: 1.971 MB / 0.5105 GB, free: 5.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.641, allocations: 4 kB / 0.5105 GB, free: 5.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004857/0.6459, allocations: 0.9752 MB / 0.5115 GB, free: 4.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007681/0.6467, allocations: 211.8 kB / 0.5117 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008373/0.6551, allocations: 4.648 MB / 0.5162 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6551, allocations: 0.5 kB / 0.5162 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005322/0.6604, allocations: 3.093 MB / 0.5192 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/0.6658, allocations: 0.831 MB / 0.52 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2126/0.8784, allocations: 11.9 MB / 0.5316 GB, free: 137.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006234/0.8846, allocations: 3.524 MB / 0.5351 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003301/0.888, allocations: 0.7715 MB / 0.5358 GB, free: 136.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.8887, allocations: 212.9 kB / 0.536 GB, free: 136.9 MB / 430.1 MB Notification: Performance of SimCode: time 1.383e-06/0.8887, allocations: 3.969 kB / 0.5361 GB, free: 136.9 MB / 430.1 MB Notification: Performance of Templates: time 0.07676/0.9655, allocations: 47.03 MB / 0.582 GB, free: 106.5 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: