Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 87.52 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001553, allocations: 179.3 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 223.4 MB, free: 5.754 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004432, allocations: 12 kB / 280.2 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.02226/0.2316, allocations: 20.83 MB / 348.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.2464, allocations: 6.534 MB / 355.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.2512, allocations: 127.4 kB / 355.2 MB, free: 7.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.2557, allocations: 1.2 MB / 356.4 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007398/0.2631, allocations: 2.009 MB / 358.4 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.2668, allocations: 0.928 MB / 359.4 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.2797, allocations: 9.053 MB / 368.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.2898, allocations: 4.857 MB / 373.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.2954, allocations: 2.86 MB / 376.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008021/0.3035, allocations: 3.755 MB / 379.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003196/0.3067, allocations: 468 kB / 380.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.3104, allocations: 0.6872 MB / 381 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004691/0.3151, allocations: 1.939 MB / 383 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003905/0.3191, allocations: 1.576 MB / 384.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.3333, allocations: 11.76 MB / 396.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3333, allocations: 0 / 396.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3333, allocations: 7.984 kB / 396.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004059/0.3337, allocations: 0 / 396.3 MB, free: 14.68 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01919/0.3529, allocations: 7.536 MB / 403.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.353, allocations: 11.97 kB / 403.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006644/0.3596, allocations: 1.318 MB / 405.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.3707, allocations: 4.882 MB / 410.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/0.3714, allocations: 0.4977 MB / 410.6 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.3735, allocations: 0.6678 MB / 411.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.3987, allocations: 9.41 MB / 420.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/0.3992, allocations: 8 kB / 420.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001773/0.4009, allocations: 279.9 kB / 420.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/0.4013, allocations: 297.4 kB / 421.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.4199, allocations: 8.036 MB / 429.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3841/0.804, allocations: 29.55 MB / 458.8 MB, free: 95.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.8147, allocations: 11.95 MB / 470.8 MB, free: 87.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005128/0.8199, allocations: 3.407 MB / 474.2 MB, free: 86.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.8343, allocations: 8.008 MB / 482.2 MB, free: 83.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.8344, allocations: 68.62 kB / 482.2 MB, free: 83.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=305): time 4.629e-06/0.8344, allocations: 0 / 482.2 MB, free: 83.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=324): time 0.02672/0.8612, allocations: 16.01 MB / 498.2 MB, free: 73.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8612, allocations: 85.95 kB / 498.3 MB, free: 73.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004713/0.866, allocations: 3.973 MB / 0.4905 GB, free: 69.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003359/0.8663, allocations: 84.44 kB / 0.4906 GB, free: 69.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.8677, allocations: 3.083 MB / 0.4936 GB, free: 66.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007011/0.8684, allocations: 1.095 MB / 0.4947 GB, free: 65.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.8686, allocations: 75.94 kB / 0.4948 GB, free: 65.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8688, allocations: 466.1 kB / 0.4952 GB, free: 64.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.8711, allocations: 1.858 MB / 0.497 GB, free: 62.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.8737, allocations: 2.831 MB / 0.4998 GB, free: 59.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.8763, allocations: 2.287 MB / 0.502 GB, free: 57.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.8764, allocations: 16 kB / 0.502 GB, free: 57.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.008238/0.8846, allocations: 6.379 MB / 0.5083 GB, free: 50.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.8847, allocations: 24.03 kB / 0.5083 GB, free: 50.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.8847, allocations: 35.94 kB / 0.5083 GB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.8871, allocations: 1.261 MB / 0.5096 GB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.8899, allocations: 0.819 MB / 0.5104 GB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.9035, allocations: 20.74 MB / 0.5306 GB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.9067, allocations: 195.9 kB / 0.5308 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004968/0.9072, allocations: 152 kB / 0.5309 GB, free: 25.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 410 * 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: 11 * 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: 11 {(1,100.0%) 8,(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003993/0.9112, allocations: 2.188 MB / 0.5331 GB, free: 23.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008724/0.9121, allocations: 450.5 kB / 0.5335 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/0.9205, allocations: 6.046 MB / 0.5394 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.9206, allocations: 32 kB / 0.5394 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/0.9206, allocations: 16 kB / 0.5395 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-05/0.9207, allocations: 15.94 kB / 0.5395 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.9373, allocations: 12.36 MB / 0.5515 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.9373, allocations: 0 / 0.5515 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.9391, allocations: 459.8 kB / 0.552 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003096/0.9422, allocations: 1.61 MB / 0.5536 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.9424, allocations: 79.91 kB / 0.5536 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/0.9702, allocations: 30.18 MB / 0.5831 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.9702, allocations: 7.984 kB / 0.5831 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.9842, allocations: 8.642 MB / 0.5915 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/0.9866, allocations: 0.9212 MB / 0.5924 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007788/0.9874, allocations: 67.95 kB / 0.5925 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.9895, allocations: 195.8 kB / 0.5927 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000677/0.9902, allocations: 274 kB / 0.593 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/0.9904, allocations: 87.98 kB / 0.593 GB, free: 7.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004429/0.9948, allocations: 2.69 MB / 0.5957 GB, free: 4.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9948, allocations: 4 kB / 0.5957 GB, free: 4.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00499/0.9998, allocations: 1.323 MB / 0.597 GB, free: 3.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1,(1,100.0%) 8,(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.0007383/1.001, allocations: 253.4 kB / 0.5972 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009874/1.01, allocations: 6.308 MB / 0.6034 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.011, allocations: 4 kB / 0.6034 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.018, allocations: 4.793 MB / 0.6081 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007024/1.025, allocations: 1.279 MB / 0.6093 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1939/1.219, allocations: 15.77 MB / 0.6247 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003953/1.223, allocations: 4.488 MB / 0.6291 GB, free: 142.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003416/1.226, allocations: 1.048 MB / 0.6301 GB, free: 142.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/1.227, allocations: 272.2 kB / 0.6304 GB, free: 142.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.224e-06/1.227, allocations: 0 / 0.6304 GB, free: 142.4 MB / 446.1 MB Notification: Performance of Templates: time 0.0989/1.326, allocations: 68.41 MB / 0.6972 GB, free: 84.39 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1)