Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005429/0.005429, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001269/0.001269, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.408/1.408, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001241/0.001241, allocations: 54.23 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09331, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02908/0.1224, allocations: 19.47 MB / 392.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.1371, allocations: 5.698 MB / 398.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.1407, allocations: 107.5 kB / 398.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.1445, allocations: 1.339 MB / 399.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00606/0.1506, allocations: 1.977 MB / 401.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.1535, allocations: 1.173 MB / 403 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007699/0.1612, allocations: 6.433 MB / 409.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007965/0.1692, allocations: 5.333 MB / 414.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.1741, allocations: 2.971 MB / 417.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006323/0.1804, allocations: 3.472 MB / 421.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.1826, allocations: 0.8008 MB / 422 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.186, allocations: 1.078 MB / 423 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.1889, allocations: 1.975 MB / 425 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007942/0.1969, allocations: 3.435 MB / 428.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.2121, allocations: 10.61 MB / 439.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2122, allocations: 0 / 439.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2122, allocations: 0 / 439.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004116/0.2126, 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.0201/0.2327, allocations: 6.691 MB / 445.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2328, allocations: 12.03 kB / 445.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.2388, allocations: 1.083 MB / 446.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007888/0.2467, allocations: 3.459 MB / 450.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.2472, allocations: 390.7 kB / 450.7 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.2489, allocations: 0.5078 MB / 451.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1909/0.4399, allocations: 6.949 MB / 458.1 MB, free: 62.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.4401, allocations: 17.56 kB / 458.2 MB, free: 62.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.4406, allocations: 206.3 kB / 458.4 MB, free: 62.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003161/0.4409, allocations: 239.7 kB / 458.6 MB, free: 62.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.4514, allocations: 5.913 MB / 464.5 MB, free: 60.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.4792, allocations: 21.09 MB / 485.6 MB, free: 45.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/0.485, allocations: 8.707 MB / 494.3 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/0.488, allocations: 2.374 MB / 496.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008729/0.4967, allocations: 6.105 MB / 0.491 GB, free: 29.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4968, allocations: 68.5 kB / 0.4911 GB, free: 29.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.077e-06/0.4968, allocations: 0 / 0.4911 GB, free: 29.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.01968/0.5165, allocations: 11.28 MB / 0.5021 GB, free: 18.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.5166, allocations: 85.39 kB / 0.5022 GB, free: 18.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.5202, allocations: 2.99 MB / 0.5051 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.5205, allocations: 69.64 kB / 0.5052 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009863/0.5215, allocations: 2.303 MB / 0.5074 GB, free: 12.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.5219, allocations: 0.8135 MB / 0.5082 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/0.5226, allocations: 0.5059 MB / 0.5087 GB, free: 11.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.5227, allocations: 305.1 kB / 0.509 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.5244, allocations: 1.356 MB / 0.5103 GB, free: 9.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.5263, allocations: 2.131 MB / 0.5124 GB, free: 7.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.5301, allocations: 3.69 MB / 0.516 GB, free: 3.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.5301, allocations: 4 kB / 0.516 GB, free: 3.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007064/0.5372, allocations: 4.663 MB / 0.5205 GB, free: 14.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.5372, allocations: 16 kB / 0.5206 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.5373, allocations: 24 kB / 0.5206 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.5392, allocations: 0.761 MB / 0.5213 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.5415, allocations: 0.6357 MB / 0.5219 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.5545, allocations: 14.53 MB / 0.5361 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.557, allocations: 159.9 kB / 0.5363 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.5573, allocations: 116 kB / 0.5364 GB, free: 13.21 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.002823/0.5601, allocations: 1.602 MB / 0.538 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/0.5607, allocations: 321.3 kB / 0.5383 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/0.5676, allocations: 4.19 MB / 0.5424 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.5677, allocations: 27.98 kB / 0.5424 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.5677, allocations: 8 kB / 0.5424 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.5677, allocations: 7.969 kB / 0.5424 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.5832, allocations: 9.134 MB / 0.5513 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.5833, allocations: 4 kB / 0.5513 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.585, allocations: 376 kB / 0.5517 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.5875, allocations: 0.938 MB / 0.5526 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/0.5878, allocations: 63.97 kB / 0.5527 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/0.6062, allocations: 17.99 MB / 0.5702 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.6062, allocations: 11.88 kB / 0.5702 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.6172, allocations: 6.057 MB / 0.5762 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/0.619, allocations: 0.6924 MB / 0.5768 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007747/0.6198, allocations: 59.98 kB / 0.5769 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.6217, allocations: 131.9 kB / 0.577 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/0.6222, allocations: 204.2 kB / 0.5772 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/0.6224, allocations: 71.98 kB / 0.5773 GB, free: 1.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003753/0.6262, allocations: 2.039 MB / 0.5793 GB, free: 15.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6262, allocations: 4 kB / 0.5793 GB, free: 15.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003622/0.6298, allocations: 0.9753 MB / 0.5802 GB, free: 14.87 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.0005345/0.6303, allocations: 243 kB / 0.5805 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006802/0.6372, allocations: 4.587 MB / 0.5849 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6372, allocations: 4 kB / 0.5849 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004375/0.6416, allocations: 3.047 MB / 0.5879 GB, free: 6.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/0.6458, allocations: 0.9079 MB / 0.5888 GB, free: 5.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.6637, allocations: 9.894 MB / 0.5985 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/0.6678, allocations: 3.431 MB / 0.6018 GB, free: 8.379 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003085/0.671, allocations: 0.7698 MB / 0.6026 GB, free: 7.605 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.6717, allocations: 215.3 kB / 0.6028 GB, free: 7.398 MB / 478.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6717, allocations: 0 / 0.6028 GB, free: 7.398 MB / 478.1 MB Notification: Performance of Templates: time 0.2636/0.9353, allocations: 49.23 MB / 0.6509 GB, free: 149.6 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)