Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.006067/0.006067, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.00128/0.001281, allocations: 197.6 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001543/0.001543, allocations: 53.45 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02042/0.1267, allocations: 19.47 MB / 392.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1382, allocations: 5.702 MB / 398.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.1412, allocations: 103.6 kB / 398.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.1448, allocations: 1.347 MB / 399.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006569/0.1514, allocations: 1.965 MB / 401.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.1548, allocations: 1.177 MB / 402.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008587/0.1634, allocations: 6.437 MB / 409.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007298/0.1708, allocations: 5.329 MB / 414.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00525/0.176, allocations: 2.971 MB / 417.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005325/0.1814, allocations: 3.476 MB / 421.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.1833, allocations: 0.8008 MB / 422 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.1861, allocations: 1.078 MB / 423 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.1881, allocations: 1.979 MB / 425 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00456/0.1926, allocations: 3.435 MB / 428.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.2035, allocations: 10.6 MB / 439.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2035, allocations: 0 / 439.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2036, allocations: 0 / 439.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002385/0.2038, allocations: 0 / 439.1 MB, free: 15.11 MB / 382.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.0181/0.2219, allocations: 6.702 MB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.222, allocations: 11.97 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.2272, allocations: 1.067 MB / 446.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00686/0.2341, allocations: 3.471 MB / 450.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.2345, allocations: 386.7 kB / 450.7 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.2362, allocations: 0.5039 MB / 451.2 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2026/0.4388, allocations: 6.951 MB / 458.1 MB, free: 62.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.4391, allocations: 13.31 kB / 458.2 MB, free: 62.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006455/0.4398, allocations: 210.8 kB / 458.4 MB, free: 62.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/0.4401, allocations: 241.6 kB / 458.6 MB, free: 62.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.4534, allocations: 5.913 MB / 464.5 MB, free: 60.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03439/0.4879, allocations: 21.1 MB / 485.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00658/0.4945, allocations: 8.69 MB / 494.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.4979, allocations: 2.378 MB / 496.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009127/0.5071, allocations: 6.108 MB / 0.491 GB, free: 29.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.5072, allocations: 56.56 kB / 0.4911 GB, free: 29.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.037e-06/0.5072, allocations: 0 / 0.4911 GB, free: 29.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.02026/0.5274, allocations: 11.3 MB / 0.5021 GB, free: 17.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5275, allocations: 73.41 kB / 0.5022 GB, free: 17.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/0.5317, allocations: 2.994 MB / 0.5051 GB, free: 14.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.5319, allocations: 69.7 kB / 0.5052 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009633/0.5329, allocations: 2.295 MB / 0.5074 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.5334, allocations: 0.8145 MB / 0.5082 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007399/0.5342, allocations: 0.5098 MB / 0.5087 GB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.153e-05/0.5342, allocations: 305.1 kB / 0.509 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.536, allocations: 1.356 MB / 0.5103 GB, free: 9.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.538, allocations: 2.134 MB / 0.5124 GB, free: 7.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.5421, allocations: 3.694 MB / 0.516 GB, free: 3.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.5422, allocations: 8 kB / 0.516 GB, free: 3.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007098/0.5493, allocations: 4.66 MB / 0.5205 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.5494, allocations: 15.98 kB / 0.5206 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.435e-05/0.5494, allocations: 24 kB / 0.5206 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.5514, allocations: 0.7653 MB / 0.5213 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.5539, allocations: 0.6318 MB / 0.522 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.5675, allocations: 14.53 MB / 0.5361 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.5702, allocations: 151.9 kB / 0.5363 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004757/0.5707, allocations: 120 kB / 0.5364 GB, free: 13.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003787/0.5745, allocations: 1.606 MB / 0.538 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/0.5757, allocations: 320.1 kB / 0.5383 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/0.5839, allocations: 4.199 MB / 0.5424 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.5839, allocations: 20 kB / 0.5424 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.963e-05/0.5839, allocations: 12 kB / 0.5424 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.584, allocations: 11.95 kB / 0.5424 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.6006, allocations: 9.119 MB / 0.5513 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6006, allocations: 4 kB / 0.5513 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.6024, allocations: 383.9 kB / 0.5517 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002613/0.605, allocations: 0.9205 MB / 0.5526 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/0.6053, allocations: 67.97 kB / 0.5527 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/0.6225, allocations: 18 MB / 0.5702 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6225, allocations: 8 kB / 0.5702 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.6328, allocations: 6.064 MB / 0.5762 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/0.6347, allocations: 0.6924 MB / 0.5768 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008242/0.6356, allocations: 55.98 kB / 0.5769 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.6377, allocations: 131.9 kB / 0.577 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/0.6384, allocations: 197.5 kB / 0.5772 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/0.6386, allocations: 71.97 kB / 0.5773 GB, free: 1.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003987/0.6426, allocations: 2.037 MB / 0.5793 GB, free: 15.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6426, allocations: 4 kB / 0.5793 GB, free: 15.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003684/0.6463, allocations: 0.9752 MB / 0.5802 GB, free: 14.69 MB / 462.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 (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,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.0006146/0.6469, allocations: 243.3 kB / 0.5805 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007131/0.6541, allocations: 4.592 MB / 0.5849 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6541, allocations: 5.812 kB / 0.5849 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004756/0.6589, allocations: 3.051 MB / 0.5879 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/0.6638, allocations: 0.9159 MB / 0.5888 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/0.6824, allocations: 9.887 MB / 0.5985 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004008/0.6865, allocations: 3.43 MB / 0.6018 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002595/0.6891, allocations: 0.7659 MB / 0.6026 GB, free: 7.426 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/0.6898, allocations: 215.4 kB / 0.6028 GB, free: 7.219 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6898, allocations: 0 / 0.6028 GB, free: 7.219 MB / 478.1 MB Notification: Performance of Templates: time 0.2955/0.9853, allocations: 49.23 MB / 0.6509 GB, free: 149.2 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)