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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001365/0.001365, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.293/1.293, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 115.3 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.47e-05/1.473e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08304/0.08307, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.4023, allocations: 116.4 MB / 459 MB, free: 12.07 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4026, allocations: 91.89 kB / 459.1 MB, free: 12.03 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4617/0.8643, allocations: 116.1 MB / 0.5617 GB, free: 70.97 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.8644, allocations: 4 kB / 0.5617 GB, free: 70.97 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000402/0.8648, allocations: 132.1 kB / 0.5618 GB, free: 70.96 MB / 395.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.01338/0.8782, allocations: 4.923 MB / 0.5667 GB, free: 69.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8782, allocations: 9.375 kB / 0.5667 GB, free: 69.07 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.8844, allocations: 0.9935 MB / 0.5676 GB, free: 68.76 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.8956, allocations: 4.584 MB / 0.5721 GB, free: 67.61 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.8959, allocations: 172.5 kB / 0.5723 GB, free: 67.61 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.8978, allocations: 313.4 kB / 0.5726 GB, free: 67.59 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01086/0.9086, allocations: 5.139 MB / 0.5776 GB, free: 65.41 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.9241, allocations: 5.975 MB / 0.5834 GB, free: 62.72 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.9243, allocations: 19.19 kB / 0.5834 GB, free: 62.71 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006762/0.925, allocations: 2.719 kB / 0.5834 GB, free: 62.71 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.9252, allocations: 231.2 kB / 0.5837 GB, free: 62.69 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.9595, allocations: 20.44 MB / 0.6036 GB, free: 51.81 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006626/0.9662, allocations: 8.557 MB / 0.612 GB, free: 44.5 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.9693, allocations: 2.112 MB / 0.614 GB, free: 43.71 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009729/0.9791, allocations: 5.987 MB / 0.6199 GB, free: 40.59 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.9792, allocations: 52.56 kB / 0.6199 GB, free: 40.54 MB / 395.1 MB Notification: Performance of pre-optimization done (n=220): time 3.837e-06/0.9792, allocations: 4 kB / 0.62 GB, free: 40.53 MB / 395.1 MB Notification: Performance of matching and sorting (n=239): time 0.01374/0.9929, allocations: 8.219 MB / 0.628 GB, free: 32.95 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.993, allocations: 73.41 kB / 0.628 GB, free: 32.86 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.9958, allocations: 2.117 MB / 0.6301 GB, free: 30.73 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.9961, allocations: 25.7 kB / 0.6301 GB, free: 30.7 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.9971, allocations: 2.317 MB / 0.6324 GB, free: 28.36 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/0.9976, allocations: 0.7813 MB / 0.6332 GB, free: 27.57 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.9978, allocations: 4 kB / 0.6332 GB, free: 27.56 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9979, allocations: 423.8 kB / 0.6336 GB, free: 27.14 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.9993, allocations: 1.236 MB / 0.6348 GB, free: 25.91 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/1.001, allocations: 1.976 MB / 0.6367 GB, free: 23.61 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/1.003, allocations: 1.72 MB / 0.6384 GB, free: 21.87 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.003, allocations: 10.06 kB / 0.6384 GB, free: 21.86 MB / 395.1 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006123/1.009, allocations: 4.333 MB / 0.6426 GB, free: 17.43 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.009, allocations: 15.98 kB / 0.6426 GB, free: 17.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/1.009, allocations: 28.06 kB / 0.6427 GB, free: 17.38 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/1.011, allocations: 0.7444 MB / 0.6434 GB, free: 16.61 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.013, allocations: 0.6396 MB / 0.644 GB, free: 15.97 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/1.022, allocations: 12.8 MB / 0.6565 GB, free: 2.371 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.025, allocations: 95.78 kB / 0.6566 GB, free: 2.277 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/1.025, allocations: 116 kB / 0.6567 GB, free: 2.164 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004836/1.025, allocations: 184 kB / 0.6569 GB, free: 1.977 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/1.026, allocations: 288.4 kB / 0.6572 GB, free: 1.691 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2224/1.248, allocations: 4.019 MB / 0.6611 GB, free: 64.3 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.248, allocations: 25.66 kB / 0.6611 GB, free: 64.3 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.248, allocations: 12 kB / 0.6611 GB, free: 64.3 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.248, allocations: 10.92 kB / 0.6611 GB, free: 64.3 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.261, allocations: 8.27 MB / 0.6692 GB, free: 63.53 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.261, allocations: 8.969 kB / 0.6692 GB, free: 63.53 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/1.263, allocations: 384.7 kB / 0.6696 GB, free: 63.53 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/1.265, allocations: 0.9073 MB / 0.6705 GB, free: 63.46 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/1.265, allocations: 30.5 kB / 0.6705 GB, free: 63.46 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.277, allocations: 15.83 MB / 0.686 GB, free: 53.63 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.277, allocations: 7.219 kB / 0.686 GB, free: 53.63 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009739/1.287, allocations: 6.154 MB / 0.692 GB, free: 52.6 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.289, allocations: 0.6554 MB / 0.6926 GB, free: 52.5 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/1.289, allocations: 20.7 kB / 0.6927 GB, free: 52.5 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.291, allocations: 107.1 kB / 0.6928 GB, free: 52.5 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.291, allocations: 196 kB / 0.6929 GB, free: 52.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.292, allocations: 72.78 kB / 0.693 GB, free: 52.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002807/1.294, allocations: 1.575 MB / 0.6945 GB, free: 52.36 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.294, allocations: 3.5 kB / 0.6946 GB, free: 52.36 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004161/1.299, allocations: 0.8958 MB / 0.6954 GB, free: 52.36 MB / 395.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.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000844/1.299, allocations: 389 kB / 0.6958 GB, free: 52.25 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006263/1.306, allocations: 4.257 MB / 0.7 GB, free: 51.05 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.306, allocations: 1.781 kB / 0.7 GB, free: 51.05 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003952/1.31, allocations: 2.875 MB / 0.7028 GB, free: 49.41 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/1.313, allocations: 0.6327 MB / 0.7034 GB, free: 49.27 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.328, allocations: 8.087 MB / 0.7113 GB, free: 45.95 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/1.331, allocations: 3.516 MB / 0.7147 GB, free: 44.62 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.002803/1.334, allocations: 0.7254 MB / 0.7154 GB, free: 44.54 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/1.335, allocations: 195.6 kB / 0.7156 GB, free: 44.53 MB / 395.1 MB Notification: Performance of SimCode: time 1.132e-06/1.335, allocations: 3.969 kB / 0.7156 GB, free: 44.53 MB / 395.1 MB Notification: Performance of Templates: time 0.06776/1.403, allocations: 40.18 MB / 0.7549 GB, free: 37.84 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (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)