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.001839/0.001839, allocations: 156.5 kB / 7.632 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.177/1.177, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001627/0.001627, allocations: 109.7 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.378e-05, allocations: 4 kB / 262.2 MB, free: 3.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1991, allocations: 38.76 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3219, allocations: 109 MB / 409.9 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.3223, allocations: 86.94 kB / 410 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4288/0.7511, allocations: 111.7 MB / 0.5095 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7512, allocations: 4 kB / 0.5095 GB, free: 30.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005012/0.7517, allocations: 139.1 kB / 0.5096 GB, free: 30.18 MB / 330.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.01374/0.7654, allocations: 4.827 MB / 0.5143 GB, free: 25.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.7655, allocations: 8.031 kB / 0.5143 GB, free: 25.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004004/0.7695, allocations: 0.7702 MB / 0.5151 GB, free: 24.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.7795, allocations: 3.618 MB / 0.5186 GB, free: 20.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/0.78, allocations: 163.9 kB / 0.5188 GB, free: 20.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.7823, allocations: 303.8 kB / 0.5191 GB, free: 20.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009617/0.7919, allocations: 4.788 MB / 0.5237 GB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.8028, allocations: 5.752 MB / 0.5294 GB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.803, allocations: 11.91 kB / 0.5294 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/0.8034, allocations: 4 kB / 0.5294 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.8036, allocations: 225.8 kB / 0.5296 GB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03346/0.837, allocations: 19.49 MB / 0.5486 GB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/0.8427, allocations: 4.528 MB / 0.553 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2183/1.061, allocations: 2.022 MB / 0.555 GB, free: 53.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/1.061, allocations: 151.7 kB / 0.5552 GB, free: 52.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.061, allocations: 61.44 kB / 0.5552 GB, free: 52.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=235): time 4.889e-06/1.061, allocations: 0 / 0.5552 GB, free: 52.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.01698/1.078, allocations: 9.312 MB / 0.5643 GB, free: 51.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/1.079, allocations: 80.31 kB / 0.5644 GB, free: 51.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/1.082, allocations: 2.038 MB / 0.5664 GB, free: 51.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.082, allocations: 25.7 kB / 0.5664 GB, free: 51.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.084, allocations: 2.217 MB / 0.5686 GB, free: 50.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000899/1.085, allocations: 0.9005 MB / 0.5695 GB, free: 49.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.085, allocations: 3.344 kB / 0.5695 GB, free: 49.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/1.085, allocations: 432.6 kB / 0.5699 GB, free: 49.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/1.087, allocations: 1.368 MB / 0.5712 GB, free: 49.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/1.089, allocations: 2.06 MB / 0.5732 GB, free: 48.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/1.091, allocations: 1.736 MB / 0.5749 GB, free: 48.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/1.091, allocations: 9.938 kB / 0.5749 GB, free: 48.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.008546/1.1, allocations: 4.622 MB / 0.5794 GB, free: 48.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/1.1, allocations: 16.59 kB / 0.5795 GB, free: 48.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/1.1, allocations: 21.47 kB / 0.5795 GB, free: 48.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/1.102, allocations: 0.9287 MB / 0.5804 GB, free: 48.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/1.104, allocations: 0.6732 MB / 0.581 GB, free: 48.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.117, allocations: 12.34 MB / 0.5931 GB, free: 42.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/1.12, allocations: 93.62 kB / 0.5932 GB, free: 42.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/1.121, allocations: 118.7 kB / 0.5933 GB, free: 42.03 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.0005982/1.121, allocations: 185.8 kB / 0.5935 GB, free: 41.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007323/1.122, allocations: 303.6 kB / 0.5938 GB, free: 41.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007766/1.13, allocations: 4.478 MB / 0.5981 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.13, allocations: 29.08 kB / 0.5982 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.13, allocations: 12.25 kB / 0.5982 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/1.13, allocations: 15.16 kB / 0.5982 GB, free: 41.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/1.146, allocations: 9.995 MB / 0.6079 GB, free: 37.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.146, allocations: 7.281 kB / 0.608 GB, free: 37.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.148, allocations: 425.8 kB / 0.6084 GB, free: 37.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/1.151, allocations: 1.09 MB / 0.6094 GB, free: 37.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/1.151, allocations: 23.52 kB / 0.6094 GB, free: 37.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/1.166, allocations: 17.55 MB / 0.6266 GB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/1.166, allocations: 9.781 kB / 0.6266 GB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008812/1.175, allocations: 7.01 MB / 0.6334 GB, free: 19.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.177, allocations: 0.7062 MB / 0.6341 GB, free: 19.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005641/1.178, allocations: 14.94 kB / 0.6341 GB, free: 19.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.179, allocations: 100.3 kB / 0.6342 GB, free: 19.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/1.18, allocations: 222.3 kB / 0.6344 GB, free: 19.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.18, allocations: 79.62 kB / 0.6345 GB, free: 19.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002495/1.182, allocations: 1.524 MB / 0.636 GB, free: 18.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.182, allocations: 5.344 kB / 0.636 GB, free: 18.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004252/1.187, allocations: 0.9116 MB / 0.6369 GB, free: 18.66 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.0008373/1.187, allocations: 382 kB / 0.6373 GB, free: 18.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006943/1.194, allocations: 4.516 MB / 0.6417 GB, free: 16.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.195, allocations: 4 kB / 0.6417 GB, free: 16.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004611/1.199, allocations: 3.246 MB / 0.6449 GB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/1.203, allocations: 0.6325 MB / 0.6455 GB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/1.218, allocations: 8.29 MB / 0.6536 GB, free: 5.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/1.221, allocations: 3.565 MB / 0.6571 GB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002634/1.224, allocations: 0.6831 MB / 0.6577 GB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006059/1.225, allocations: 198.8 kB / 0.6579 GB, free: 2.074 MB / 346.7 MB Notification: Performance of SimCode: time 1.833e-06/1.225, allocations: 0 / 0.6579 GB, free: 2.074 MB / 346.7 MB Notification: Performance of Templates: time 0.2915/1.516, allocations: 43.37 MB / 0.7003 GB, free: 53.75 MB / 362.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)