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.001024/0.001024, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.158/1.158, allocations: 194.4 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001631/0.001631, allocations: 112.9 kB / 256.9 MB, free: 4.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07695, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/0.3236, allocations: 117.2 MB / 472.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3238, allocations: 94.25 kB / 472.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3951/0.7189, allocations: 117.5 MB / 0.576 GB, free: 80.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.719, allocations: 0 / 0.576 GB, free: 80.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004041/0.7194, allocations: 132.6 kB / 0.5761 GB, free: 80.64 MB / 394.7 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.01367/0.7331, allocations: 5.425 MB / 0.5814 GB, free: 77.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7331, allocations: 13.45 kB / 0.5814 GB, free: 77.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.738, allocations: 1.005 MB / 0.5824 GB, free: 77.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009469/0.7474, allocations: 4.628 MB / 0.5869 GB, free: 74.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.7478, allocations: 385.1 kB / 0.5873 GB, free: 74.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.749, allocations: 0.5041 MB / 0.5878 GB, free: 73.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.7606, allocations: 6.839 MB / 0.5945 GB, free: 68.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.7607, allocations: 11.84 kB / 0.5945 GB, free: 68.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004842/0.7612, allocations: 219.3 kB / 0.5947 GB, free: 68.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.7614, allocations: 230.2 kB / 0.5949 GB, free: 67.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009232/0.7706, allocations: 5.6 MB / 0.6004 GB, free: 62.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03366/0.8043, allocations: 21.45 MB / 0.6213 GB, free: 40.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006628/0.811, allocations: 8.758 MB / 0.6299 GB, free: 30.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008978/0.82, allocations: 5.211 MB / 0.635 GB, free: 25.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.8201, allocations: 60.56 kB / 0.635 GB, free: 25.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=230): time 4.098e-06/0.8201, allocations: 0 / 0.635 GB, free: 25.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=249): time 0.02066/0.8407, allocations: 11.6 MB / 0.6463 GB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.8408, allocations: 81.34 kB / 0.6464 GB, free: 13.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/0.8455, allocations: 2.608 MB / 0.649 GB, free: 11.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003962/0.8459, allocations: 65.7 kB / 0.649 GB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.8472, allocations: 2.289 MB / 0.6513 GB, free: 8.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007379/0.8479, allocations: 0.8435 MB / 0.6521 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.8482, allocations: 56 kB / 0.6521 GB, free: 7.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8484, allocations: 428 kB / 0.6526 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.8504, allocations: 1.384 MB / 0.6539 GB, free: 5.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.8525, allocations: 2.131 MB / 0.656 GB, free: 3.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/0.8548, allocations: 1.733 MB / 0.6577 GB, free: 1.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.8548, allocations: 8 kB / 0.6577 GB, free: 1.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1619/1.017, allocations: 4.708 MB / 0.6623 GB, free: 72.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.017, allocations: 12.75 kB / 0.6623 GB, free: 72.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.017, allocations: 22.31 kB / 0.6623 GB, free: 72.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/1.018, allocations: 0.7589 MB / 0.6631 GB, free: 72.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/1.021, allocations: 0.657 MB / 0.6637 GB, free: 72.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00903/1.03, allocations: 13.56 MB / 0.6769 GB, free: 63.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.032, allocations: 161.5 kB / 0.6771 GB, free: 63.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/1.033, allocations: 122.9 kB / 0.6772 GB, free: 63.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * 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 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(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.003065/1.036, allocations: 1.599 MB / 0.6788 GB, free: 63.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/1.036, allocations: 326.1 kB / 0.6791 GB, free: 63.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006799/1.043, allocations: 4.323 MB / 0.6833 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.043, allocations: 22.09 kB / 0.6833 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.043, allocations: 10.22 kB / 0.6833 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/1.043, allocations: 13.48 kB / 0.6834 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.059, allocations: 9.325 MB / 0.6925 GB, free: 62.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.059, allocations: 4.406 kB / 0.6925 GB, free: 62.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.06, allocations: 406.3 kB / 0.6929 GB, free: 62.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/1.063, allocations: 0.936 MB / 0.6938 GB, free: 61.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/1.063, allocations: 69.33 kB / 0.6938 GB, free: 61.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/1.075, allocations: 16.79 MB / 0.7102 GB, free: 49.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.075, allocations: 9.953 kB / 0.7102 GB, free: 49.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/1.083, allocations: 6.58 MB / 0.7167 GB, free: 46.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/1.085, allocations: 0.714 MB / 0.7174 GB, free: 45.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/1.086, allocations: 59.06 kB / 0.7174 GB, free: 45.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.087, allocations: 150.7 kB / 0.7176 GB, free: 45.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/1.088, allocations: 207.3 kB / 0.7178 GB, free: 45.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.088, allocations: 72.98 kB / 0.7178 GB, free: 45.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002719/1.09, allocations: 1.987 MB / 0.7198 GB, free: 45.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.09, allocations: 0 / 0.7198 GB, free: 45.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003399/1.094, allocations: 1.027 MB / 0.7208 GB, free: 44.92 MB / 394.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * 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.0006652/1.095, allocations: 436.7 kB / 0.7212 GB, free: 44.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005419/1.1, allocations: 4.669 MB / 0.7257 GB, free: 42.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.1, allocations: 2.812 kB / 0.7258 GB, free: 42.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.104, allocations: 3.12 MB / 0.7288 GB, free: 40.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/1.107, allocations: 0.8427 MB / 0.7296 GB, free: 40.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.122, allocations: 11.93 MB / 0.7413 GB, free: 33.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/1.125, allocations: 3.524 MB / 0.7447 GB, free: 32.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002753/1.127, allocations: 0.7758 MB / 0.7455 GB, free: 32.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/1.128, allocations: 216.4 kB / 0.7457 GB, free: 32.45 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/1.128, allocations: 0 / 0.7457 GB, free: 32.45 MB / 394.7 MB Notification: Performance of Templates: time 0.07166/1.2, allocations: 50.8 MB / 0.7953 GB, free: 9.207 MB / 410.7 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)