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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001239/0.001239, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.149/1.149, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001503/0.001503, allocations: 107.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.472e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0587/0.05874, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/0.3334, allocations: 109.6 MB / 417.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.3337, allocations: 85.02 kB / 417.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3887/0.7225, allocations: 113.1 MB / 0.518 GB, free: 68.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7225, allocations: 0 / 0.518 GB, free: 68.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003186/0.7228, allocations: 130.6 kB / 0.5181 GB, free: 68.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01068/0.7335, allocations: 4.847 MB / 0.5229 GB, free: 65.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7336, allocations: 8.031 kB / 0.5229 GB, free: 65.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/0.7363, allocations: 0.7674 MB / 0.5236 GB, free: 64.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.7425, allocations: 3.618 MB / 0.5271 GB, free: 60.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.7427, allocations: 376.9 kB / 0.5275 GB, free: 60.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.7438, allocations: 0.4951 MB / 0.528 GB, free: 59.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009693/0.7535, allocations: 6.476 MB / 0.5343 GB, free: 53.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.7536, allocations: 11.91 kB / 0.5343 GB, free: 53.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/0.7541, allocations: 219 kB / 0.5345 GB, free: 53.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.7542, allocations: 217.8 kB / 0.5347 GB, free: 52.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007005/0.7612, allocations: 5.072 MB / 0.5397 GB, free: 47.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.7859, allocations: 20.47 MB / 0.5597 GB, free: 27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/0.7894, allocations: 4.6 MB / 0.5642 GB, free: 22.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.792, allocations: 2.114 MB / 0.5662 GB, free: 19.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.7923, allocations: 150.5 kB / 0.5664 GB, free: 19.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.7924, allocations: 64.5 kB / 0.5664 GB, free: 19.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=235): time 4.198e-06/0.7924, allocations: 0 / 0.5664 GB, free: 19.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.0198/0.8122, allocations: 11.04 MB / 0.5772 GB, free: 8.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.8122, allocations: 77.59 kB / 0.5773 GB, free: 8.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.8155, allocations: 2.505 MB / 0.5797 GB, free: 5.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.8157, allocations: 69.7 kB / 0.5798 GB, free: 5.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009256/0.8166, allocations: 2.196 MB / 0.582 GB, free: 3.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.8171, allocations: 0.9514 MB / 0.5829 GB, free: 2.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.8172, allocations: 64 kB / 0.5829 GB, free: 2.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8174, allocations: 428.3 kB / 0.5834 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.8191, allocations: 1.431 MB / 0.5848 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1694/0.9885, allocations: 2.13 MB / 0.5868 GB, free: 61.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.992, allocations: 1.809 MB / 0.5886 GB, free: 61.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/0.9921, allocations: 5.688 kB / 0.5886 GB, free: 61.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.007844/0.9999, allocations: 4.952 MB / 0.5934 GB, free: 60.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/1, allocations: 17.06 kB / 0.5935 GB, free: 60.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/1, allocations: 20.53 kB / 0.5935 GB, free: 60.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/1.002, allocations: 0.9438 MB / 0.5944 GB, free: 60.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/1.006, allocations: 0.672 MB / 0.5951 GB, free: 60.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.018, allocations: 12.86 MB / 0.6076 GB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/1.021, allocations: 150.8 kB / 0.6078 GB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004308/1.021, allocations: 122.4 kB / 0.6079 GB, free: 54.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (333): * Single equations (assignments): 325 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(4,100.0%) 29,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005627/1.022, allocations: 288.4 kB / 0.6082 GB, free: 54.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/1.022, allocations: 330.4 kB / 0.6085 GB, free: 54.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/1.029, allocations: 4.759 MB / 0.6131 GB, free: 53.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.029, allocations: 28.22 kB / 0.6131 GB, free: 53.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/1.029, allocations: 13.47 kB / 0.6132 GB, free: 53.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/1.029, allocations: 14.86 kB / 0.6132 GB, free: 53.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.045, allocations: 10.9 MB / 0.6238 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.045, allocations: 9.625 kB / 0.6238 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/1.047, allocations: 431.3 kB / 0.6242 GB, free: 50.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/1.049, allocations: 1.109 MB / 0.6253 GB, free: 50.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/1.049, allocations: 61.5 kB / 0.6254 GB, free: 50.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.063, allocations: 18.27 MB / 0.6432 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.063, allocations: 8.688 kB / 0.6432 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008508/1.072, allocations: 7.322 MB / 0.6504 GB, free: 32.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.073, allocations: 0.7417 MB / 0.6511 GB, free: 31.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006029/1.074, allocations: 56.42 kB / 0.6511 GB, free: 31.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.076, allocations: 148.4 kB / 0.6513 GB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/1.076, allocations: 218.7 kB / 0.6515 GB, free: 31.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.076, allocations: 76.77 kB / 0.6516 GB, free: 31.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002593/1.079, allocations: 1.914 MB / 0.6534 GB, free: 30.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.079, allocations: 0 / 0.6534 GB, free: 30.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003995/1.083, allocations: 1.041 MB / 0.6545 GB, free: 30.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.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 (208): * Single equations (assignments): 199 * 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 {(5,92.0%) 27,(2,100.0%) 12,(1,100.0%) 7,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008099/1.084, allocations: 471.4 kB / 0.6549 GB, free: 30.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006245/1.09, allocations: 4.723 MB / 0.6595 GB, free: 28.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.09, allocations: 0 / 0.6595 GB, free: 28.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.094, allocations: 3.371 MB / 0.6628 GB, free: 25.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.098, allocations: 0.8493 MB / 0.6636 GB, free: 24.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.111, allocations: 8.531 MB / 0.672 GB, free: 16.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/1.114, allocations: 3.553 MB / 0.6754 GB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002737/1.117, allocations: 0.7339 MB / 0.6762 GB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/1.117, allocations: 210.3 kB / 0.6764 GB, free: 13.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/1.117, allocations: 0 / 0.6764 GB, free: 13.36 MB / 346.7 MB Notification: Performance of Templates: time 0.2781/1.395, allocations: 54.04 MB / 0.7291 GB, free: 85.42 MB / 378.7 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)