Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001334/0.001334, allocations: 165.9 kB / 7.635 MB, free: 1.418 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.386/1.386, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001652/0.001652, allocations: 118.1 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.441e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07032/0.07035, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.3649, allocations: 99.99 MB / 401 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3651, allocations: 87.58 kB / 401.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1616/0.5268, allocations: 64.67 MB / 465.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5268, allocations: 0 / 465.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002265/0.5271, allocations: 83.94 kB / 465.8 MB, free: 5.469 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: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.007/0.5341, allocations: 3.25 MB / 469.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5341, allocations: 8.031 kB / 469.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.5355, allocations: 451 kB / 469.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1885/0.724, allocations: 2.331 MB / 471.8 MB, free: 72.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.7243, allocations: 100.1 kB / 471.9 MB, free: 72.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.7255, allocations: 181 kB / 472.1 MB, free: 72.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007091/0.7326, allocations: 3.282 MB / 475.4 MB, free: 72.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007368/0.74, allocations: 3.785 MB / 479.2 MB, free: 72.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.541e-05/0.7401, allocations: 5.453 kB / 479.2 MB, free: 72.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.7404, allocations: 10.02 kB / 479.2 MB, free: 72.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.7405, allocations: 123.8 kB / 479.3 MB, free: 72.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.7584, allocations: 12.96 MB / 492.3 MB, free: 69.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.7608, allocations: 2.809 MB / 495.1 MB, free: 68.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.7625, allocations: 1.464 MB / 496.6 MB, free: 68.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.7628, allocations: 145.9 kB / 496.7 MB, free: 68.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7628, allocations: 53.34 kB / 496.7 MB, free: 68.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 2.825e-06/0.7629, allocations: 0 / 496.7 MB, free: 68.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=183): time 0.009639/0.7725, allocations: 6.319 MB / 0.4913 GB, free: 67.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.7726, allocations: 70.97 kB / 0.4913 GB, free: 67.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.775, allocations: 1.684 MB / 0.493 GB, free: 66.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.7751, allocations: 27.61 kB / 0.493 GB, free: 66.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/0.7759, allocations: 1.461 MB / 0.4944 GB, free: 65.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.7763, allocations: 0.5889 MB / 0.495 GB, free: 64.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.7764, allocations: 0 / 0.495 GB, free: 64.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7765, allocations: 386 kB / 0.4954 GB, free: 64.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.7777, allocations: 1.042 MB / 0.4964 GB, free: 64.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.779, allocations: 1.438 MB / 0.4978 GB, free: 63.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.7804, allocations: 1.256 MB / 0.499 GB, free: 62.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.7804, allocations: 3.25 kB / 0.499 GB, free: 62.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004474/0.7849, allocations: 3.298 MB / 0.5023 GB, free: 61.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7849, allocations: 9.781 kB / 0.5023 GB, free: 61.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.7849, allocations: 12.88 kB / 0.5023 GB, free: 61.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.7866, allocations: 0.785 MB / 0.503 GB, free: 61.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.7882, allocations: 465.4 kB / 0.5035 GB, free: 61.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/0.796, allocations: 10.38 MB / 0.5136 GB, free: 53.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.7982, allocations: 93.09 kB / 0.5137 GB, free: 53.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.7985, allocations: 72.53 kB / 0.5138 GB, free: 53.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.7989, allocations: 164 kB / 0.5139 GB, free: 53.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.7993, allocations: 220.6 kB / 0.5141 GB, free: 53.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.8038, allocations: 3.107 MB / 0.5172 GB, free: 51.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.8039, allocations: 17.16 kB / 0.5172 GB, free: 51.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.8039, allocations: 10.19 kB / 0.5172 GB, free: 51.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.8039, allocations: 7.5 kB / 0.5172 GB, free: 51.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008998/0.8129, allocations: 6.36 MB / 0.5234 GB, free: 49.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.8129, allocations: 3.406 kB / 0.5234 GB, free: 49.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8142, allocations: 306.4 kB / 0.5237 GB, free: 49.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.8163, allocations: 0.8979 MB / 0.5246 GB, free: 49.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.8164, allocations: 19.81 kB / 0.5246 GB, free: 49.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009113/0.8255, allocations: 12.94 MB / 0.5373 GB, free: 38.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8256, allocations: 4.938 kB / 0.5373 GB, free: 38.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.8314, allocations: 4.776 MB / 0.5419 GB, free: 35.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.8325, allocations: 0.5445 MB / 0.5425 GB, free: 34.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.8328, allocations: 11.8 kB / 0.5425 GB, free: 34.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.834, allocations: 100.6 kB / 0.5426 GB, free: 34.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/0.8344, allocations: 151.7 kB / 0.5427 GB, free: 34.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.8345, allocations: 58.81 kB / 0.5428 GB, free: 34.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001601/0.8361, allocations: 1.27 MB / 0.544 GB, free: 33.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8361, allocations: 4 kB / 0.544 GB, free: 33.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002085/0.8382, allocations: 0.6403 MB / 0.5446 GB, free: 32.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005386/0.8387, allocations: 343.4 kB / 0.545 GB, free: 32.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.8425, allocations: 3.386 MB / 0.5483 GB, free: 29.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.8425, allocations: 0 / 0.5483 GB, free: 29.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002741/0.8453, allocations: 2.393 MB / 0.5506 GB, free: 27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.8476, allocations: 0.5136 MB / 0.5511 GB, free: 26.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007331/0.8549, allocations: 5.453 MB / 0.5564 GB, free: 21.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.8566, allocations: 2.577 MB / 0.559 GB, free: 19.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001482/0.8581, allocations: 0.5432 MB / 0.5595 GB, free: 19.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.8586, allocations: 143 kB / 0.5596 GB, free: 19.29 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8586, allocations: 0 / 0.5596 GB, free: 19.29 MB / 346.7 MB Notification: Performance of Templates: time 0.04991/0.9085, allocations: 33.17 MB / 0.592 GB, free: 7.199 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)