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.0009764/0.0009761, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.23/1.23, allocations: 194.3 MB / 208.4 MB, free: 6.723 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.001597/0.001597, allocations: 118.2 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.615e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06432/0.06436, allocations: 44.51 MB / 349.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2982/0.3626, allocations: 117.1 MB / 466.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.3629, allocations: 86.45 kB / 466.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4629/0.8258, allocations: 117.6 MB / 0.5706 GB, free: 71.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.8259, allocations: 0 / 0.5706 GB, free: 71.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002859/0.8262, allocations: 136 kB / 0.5707 GB, free: 71.12 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.01004/0.8362, allocations: 4.914 MB / 0.5755 GB, free: 69.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.8363, allocations: 12.53 kB / 0.5755 GB, free: 69.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.8405, allocations: 0.9927 MB / 0.5765 GB, free: 68.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009866/0.8504, allocations: 4.6 MB / 0.581 GB, free: 68.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.8506, allocations: 381.2 kB / 0.5813 GB, free: 68.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000847/0.8515, allocations: 0.5093 MB / 0.5818 GB, free: 68.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.8626, allocations: 6.721 MB / 0.5884 GB, free: 67.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.8628, allocations: 19.73 kB / 0.5884 GB, free: 67.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005146/0.8633, allocations: 223.1 kB / 0.5886 GB, free: 67.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.8635, allocations: 226 kB / 0.5888 GB, free: 67.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008587/0.8721, allocations: 5.43 MB / 0.5941 GB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.9006, allocations: 21.44 MB / 0.6151 GB, free: 55.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006043/0.9067, allocations: 8.659 MB / 0.6235 GB, free: 47.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.9094, allocations: 2.204 MB / 0.6257 GB, free: 45.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00869/0.9181, allocations: 6.185 MB / 0.6317 GB, free: 40.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.9182, allocations: 56.56 kB / 0.6318 GB, free: 40.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=220): time 4.038e-06/0.9182, allocations: 0 / 0.6318 GB, free: 40.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=239): time 0.01454/0.9327, allocations: 8.963 MB / 0.6405 GB, free: 32.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.9328, allocations: 73.41 kB / 0.6406 GB, free: 32.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.936, allocations: 2.58 MB / 0.6431 GB, free: 30.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.9363, allocations: 69.7 kB / 0.6432 GB, free: 30.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009628/0.9372, allocations: 2.3 MB / 0.6454 GB, free: 28.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.9377, allocations: 0.8153 MB / 0.6462 GB, free: 27.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.9378, allocations: 56 kB / 0.6463 GB, free: 27.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.9379, allocations: 428 kB / 0.6467 GB, free: 26.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.9395, allocations: 1.296 MB / 0.648 GB, free: 25.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.9414, allocations: 2.051 MB / 0.65 GB, free: 23.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.9433, allocations: 1.65 MB / 0.6516 GB, free: 22.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.9433, allocations: 4 kB / 0.6516 GB, free: 22.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.005935/0.9492, allocations: 4.518 MB / 0.656 GB, free: 17.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.9493, allocations: 15.84 kB / 0.656 GB, free: 17.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.9493, allocations: 24.66 kB / 0.656 GB, free: 17.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.9508, allocations: 0.7527 MB / 0.6568 GB, free: 17.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.953, allocations: 0.639 MB / 0.6574 GB, free: 16.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.9615, allocations: 13.36 MB / 0.6704 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.9641, allocations: 161.1 kB / 0.6706 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.9644, allocations: 119.8 kB / 0.6707 GB, free: 3.031 MB / 394.7 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.0004394/0.9649, allocations: 276.1 kB / 0.671 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/0.9654, allocations: 328 kB / 0.6713 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/0.9717, allocations: 4.127 MB / 0.6753 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.9717, allocations: 23.98 kB / 0.6753 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.9718, allocations: 12 kB / 0.6753 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.9718, allocations: 11.97 kB / 0.6753 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.9864, allocations: 9.031 MB / 0.6842 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.9864, allocations: 4 kB / 0.6842 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.9881, allocations: 388 kB / 0.6845 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.9904, allocations: 0.9198 MB / 0.6854 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.9906, allocations: 67.97 kB / 0.6855 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2156/1.206, allocations: 16.48 MB / 0.7016 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.206, allocations: 4.906 kB / 0.7016 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.217, allocations: 6.273 MB / 0.7077 GB, free: 69.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.219, allocations: 0.7006 MB / 0.7084 GB, free: 69.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/1.22, allocations: 61.89 kB / 0.7085 GB, free: 69.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.221, allocations: 140.4 kB / 0.7086 GB, free: 69.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/1.222, allocations: 199.5 kB / 0.7088 GB, free: 69.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.222, allocations: 69.34 kB / 0.7089 GB, free: 69.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002801/1.225, allocations: 1.97 MB / 0.7108 GB, free: 68.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.225, allocations: 0 / 0.7108 GB, free: 68.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003326/1.228, allocations: 1.016 MB / 0.7118 GB, free: 68.97 MB / 410.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 () * 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.0007939/1.229, allocations: 475.7 kB / 0.7122 GB, free: 68.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005513/1.234, allocations: 4.456 MB / 0.7166 GB, free: 67.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.234, allocations: 0 / 0.7166 GB, free: 67.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003772/1.238, allocations: 3.001 MB / 0.7195 GB, free: 66.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/1.242, allocations: 0.8301 MB / 0.7203 GB, free: 66.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.254, allocations: 8.265 MB / 0.7284 GB, free: 64.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.257, allocations: 3.526 MB / 0.7318 GB, free: 63.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002593/1.26, allocations: 0.766 MB / 0.7326 GB, free: 63.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/1.26, allocations: 211.5 kB / 0.7328 GB, free: 63.71 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/1.26, allocations: 3.875 kB / 0.7328 GB, free: 63.71 MB / 410.7 MB Notification: Performance of Templates: time 0.07717/1.338, allocations: 51.03 MB / 0.7826 GB, free: 47.34 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)