Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0008767/0.0008767, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005636/0.005636, allocations: 169 kB / 16.26 MB, free: 6.652 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.356/1.356, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0004346/0.0004346, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 47.58 MB / 327 MB, free: 1.344 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.02198/0.2579, allocations: 22.33 MB / 349.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.2727, allocations: 6.786 MB / 356.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.2772, allocations: 127.4 kB / 356.3 MB, free: 6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005113/0.2824, allocations: 1.375 MB / 357.7 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008071/0.2905, allocations: 2.176 MB / 359.8 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.2948, allocations: 1.303 MB / 361.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01355/0.3083, allocations: 9.923 MB / 371.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.3187, allocations: 5.716 MB / 376.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/0.3243, allocations: 2.906 MB / 379.7 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006515/0.3308, allocations: 3.921 MB / 383.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001984/0.3328, allocations: 464 kB / 384.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.336, allocations: 0.7534 MB / 384.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.3388, allocations: 1.946 MB / 386.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005699/0.3445, allocations: 3.853 MB / 390.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.3583, allocations: 13.49 MB / 404.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3583, allocations: 3.938 kB / 404.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3583, allocations: 0 / 404.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004235/0.3587, allocations: 0 / 404.1 MB, free: 5.922 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.0203/0.3791, allocations: 7.481 MB / 411.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3791, allocations: 8.031 kB / 411.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007661/0.3868, allocations: 1.315 MB / 412.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.3985, allocations: 5.02 MB / 417.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/0.3991, allocations: 0.498 MB / 418.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/0.4014, allocations: 0.6679 MB / 419.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.425, allocations: 9.457 MB / 428.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.4252, allocations: 11.84 kB / 428.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007279/0.4259, allocations: 276 kB / 428.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003547/0.4263, allocations: 301.4 kB / 429.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.4443, allocations: 8.091 MB / 437.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3981/0.8424, allocations: 29.55 MB / 466.8 MB, free: 89.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.8533, allocations: 11.98 MB / 478.7 MB, free: 81.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00557/0.859, allocations: 3.41 MB / 482.1 MB, free: 80.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/0.8718, allocations: 8.014 MB / 490.2 MB, free: 75.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.8719, allocations: 68.31 kB / 490.2 MB, free: 75.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=305): time 5.21e-06/0.8719, allocations: 0 / 490.2 MB, free: 75.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=324): time 0.02996/0.9018, allocations: 15.99 MB / 0.4944 GB, free: 63.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.9019, allocations: 85.95 kB / 0.4944 GB, free: 63.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005726/0.9077, allocations: 4.004 MB / 0.4983 GB, free: 59.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005526/0.9083, allocations: 81.7 kB / 0.4984 GB, free: 59.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.9099, allocations: 3.079 MB / 0.5014 GB, free: 56.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009809/0.9109, allocations: 1.095 MB / 0.5025 GB, free: 55.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.9112, allocations: 317.8 kB / 0.5028 GB, free: 55.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.9113, allocations: 305.1 kB / 0.5031 GB, free: 54.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.9138, allocations: 1.874 MB / 0.5049 GB, free: 52.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.9169, allocations: 2.847 MB / 0.5077 GB, free: 49.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/0.9225, allocations: 4.924 MB / 0.5125 GB, free: 44.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-05/0.9226, allocations: 8 kB / 0.5125 GB, free: 44.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.009744/0.9323, allocations: 6.421 MB / 0.5188 GB, free: 37.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.9324, allocations: 20 kB / 0.5188 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.531e-05/0.9325, allocations: 28 kB / 0.5188 GB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.935, allocations: 1.266 MB / 0.5201 GB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.9381, allocations: 0.819 MB / 0.5209 GB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.953, allocations: 20.77 MB / 0.5411 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004342/0.9574, allocations: 199.8 kB / 0.5413 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.9579, allocations: 156 kB / 0.5415 GB, free: 12.97 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 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,8,100.0%), (2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004209/0.9621, allocations: 2.188 MB / 0.5436 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.9632, allocations: 442.7 kB / 0.544 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008786/0.972, allocations: 6.069 MB / 0.55 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.972, allocations: 36 kB / 0.55 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/0.9721, allocations: 16 kB / 0.55 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.9721, allocations: 15.94 kB / 0.55 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/0.9928, allocations: 12.38 MB / 0.5621 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.9929, allocations: 7.984 kB / 0.5621 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/0.995, allocations: 451.8 kB / 0.5626 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/0.9991, allocations: 1.614 MB / 0.5641 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003519/0.9995, allocations: 72.16 kB / 0.5642 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02849/1.028, allocations: 30.23 MB / 0.5937 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/1.028, allocations: 7.984 kB / 0.5937 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.044, allocations: 8.679 MB / 0.6022 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003098/1.047, allocations: 0.9096 MB / 0.6031 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.048, allocations: 67.98 kB / 0.6032 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/1.051, allocations: 203.8 kB / 0.6034 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008826/1.051, allocations: 266 kB / 0.6036 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.052, allocations: 83.98 kB / 0.6037 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004861/1.056, allocations: 2.725 MB / 0.6064 GB, free: 7.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.057, allocations: 0 / 0.6064 GB, free: 7.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006026/1.063, allocations: 1.327 MB / 0.6077 GB, free: 6.352 MB / 446.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 (not torn): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009961/1.064, allocations: 277.5 kB / 0.6079 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2043/1.268, allocations: 6.339 MB / 0.6141 GB, free: 150.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.268, allocations: 2.062 kB / 0.6141 GB, free: 150.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008103/1.276, allocations: 4.803 MB / 0.6188 GB, free: 148.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008186/1.284, allocations: 1.261 MB / 0.62 GB, free: 148.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.308, allocations: 16.52 MB / 0.6362 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004422/1.312, allocations: 4.487 MB / 0.6405 GB, free: 138.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003712/1.316, allocations: 1.058 MB / 0.6416 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008463/1.317, allocations: 276.3 kB / 0.6418 GB, free: 138.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/1.317, allocations: 0 / 0.6418 GB, free: 138.5 MB / 446.1 MB Notification: Performance of Templates: time 0.1063/1.423, allocations: 70.18 MB / 0.7104 GB, free: 71.43 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1)