Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001351/0.001351, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.42/1.42, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001641/0.001641, allocations: 117.1 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.418e-05, allocations: 4 kB / 298.1 MB, free: 8.223 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07813/0.07815, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2778/0.356, allocations: 105.1 MB / 447.7 MB, free: 7.211 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3562, allocations: 91.75 kB / 447.8 MB, free: 7.164 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1654/0.5217, allocations: 64.53 MB / 0.5003 GB, free: 13.45 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5217, allocations: 0 / 0.5003 GB, free: 13.45 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002358/0.5219, allocations: 87.86 kB / 0.5004 GB, free: 13.37 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007189/0.5291, allocations: 3.249 MB / 0.5036 GB, free: 10.06 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5292, allocations: 8.031 kB / 0.5036 GB, free: 10.05 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.5305, allocations: 439.2 kB / 0.504 GB, free: 9.617 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.5347, allocations: 2.379 MB / 0.5063 GB, free: 7.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5348, allocations: 108 kB / 0.5064 GB, free: 7.082 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.5352, allocations: 183.9 kB / 0.5066 GB, free: 6.902 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005268/0.5405, allocations: 3.296 MB / 0.5098 GB, free: 3.602 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1855/0.726, allocations: 3.786 MB / 0.5135 GB, free: 74.57 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.946e-05/0.7261, allocations: 9.672 kB / 0.5135 GB, free: 74.57 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.7264, allocations: 4.406 kB / 0.5135 GB, free: 74.57 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.7265, allocations: 125.7 kB / 0.5136 GB, free: 74.57 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.742, allocations: 12.99 MB / 0.5263 GB, free: 71.6 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.7445, allocations: 2.809 MB / 0.5291 GB, free: 70.72 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.7461, allocations: 1.466 MB / 0.5305 GB, free: 70.7 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.7463, allocations: 142.4 kB / 0.5306 GB, free: 70.61 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.7464, allocations: 50.06 kB / 0.5307 GB, free: 70.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=167): time 3.868e-06/0.7464, allocations: 0 / 0.5307 GB, free: 70.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=183): time 0.008739/0.7551, allocations: 6.326 MB / 0.5369 GB, free: 69.6 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.7552, allocations: 73.25 kB / 0.5369 GB, free: 69.54 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.7573, allocations: 1.7 MB / 0.5386 GB, free: 69.33 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.7574, allocations: 31.67 kB / 0.5386 GB, free: 69.3 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.7581, allocations: 1.457 MB / 0.54 GB, free: 68.8 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.7585, allocations: 0.5854 MB / 0.5406 GB, free: 68.41 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.7586, allocations: 0.8438 kB / 0.5406 GB, free: 68.41 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7587, allocations: 383.2 kB / 0.541 GB, free: 68.11 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.7601, allocations: 1.05 MB / 0.542 GB, free: 68.1 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.7616, allocations: 1.437 MB / 0.5434 GB, free: 67.68 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.7633, allocations: 1.254 MB / 0.5446 GB, free: 67.67 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.7634, allocations: 3.312 kB / 0.5446 GB, free: 67.67 MB / 395.1 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005207/0.7686, allocations: 3.3 MB / 0.5479 GB, free: 67.39 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7686, allocations: 10.81 kB / 0.5479 GB, free: 67.39 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.7686, allocations: 10.91 kB / 0.5479 GB, free: 67.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.7705, allocations: 0.7935 MB / 0.5486 GB, free: 67.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.7722, allocations: 459.8 kB / 0.5491 GB, free: 67.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008262/0.7805, allocations: 10.39 MB / 0.5592 GB, free: 59.29 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.7825, allocations: 87.44 kB / 0.5593 GB, free: 59.28 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.7827, allocations: 77.16 kB / 0.5594 GB, free: 59.27 MB / 395.1 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.000409/0.7831, allocations: 157.6 kB / 0.5595 GB, free: 59.14 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/0.7837, allocations: 222.7 kB / 0.5598 GB, free: 59.03 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004892/0.7886, allocations: 3.103 MB / 0.5628 GB, free: 57.86 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7886, allocations: 18.25 kB / 0.5628 GB, free: 57.86 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.7886, allocations: 6.656 kB / 0.5628 GB, free: 57.86 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.7887, allocations: 11.72 kB / 0.5628 GB, free: 57.86 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008869/0.7975, allocations: 6.37 MB / 0.569 GB, free: 55.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.7976, allocations: 2.75 kB / 0.569 GB, free: 55.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.7988, allocations: 314.8 kB / 0.5693 GB, free: 55.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.8009, allocations: 0.8948 MB / 0.5702 GB, free: 55.13 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.801, allocations: 19.3 kB / 0.5702 GB, free: 55.12 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/0.8095, allocations: 12.94 MB / 0.5829 GB, free: 44.79 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8096, allocations: 0.75 kB / 0.5829 GB, free: 44.79 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/0.8152, allocations: 4.764 MB / 0.5875 GB, free: 42.69 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.8164, allocations: 0.5446 MB / 0.5881 GB, free: 42.36 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.8167, allocations: 10.58 kB / 0.5881 GB, free: 42.36 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.818, allocations: 101.5 kB / 0.5882 GB, free: 42.36 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.8184, allocations: 166.8 kB / 0.5883 GB, free: 42.33 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8185, allocations: 49.67 kB / 0.5884 GB, free: 42.32 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.8201, allocations: 1.289 MB / 0.5896 GB, free: 41.77 MB / 395.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8201, allocations: 1.031 kB / 0.5896 GB, free: 41.77 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00225/0.8223, allocations: 0.6442 MB / 0.5903 GB, free: 41.75 MB / 395.1 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.0005397/0.8229, allocations: 342.1 kB / 0.5906 GB, free: 41.65 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.827, allocations: 3.394 MB / 0.5939 GB, free: 39.98 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.827, allocations: 0 / 0.5939 GB, free: 39.98 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.8296, allocations: 2.385 MB / 0.5962 GB, free: 38.6 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.8322, allocations: 0.509 MB / 0.5967 GB, free: 38.48 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.8399, allocations: 5.475 MB / 0.6021 GB, free: 36.2 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.8417, allocations: 2.584 MB / 0.6046 GB, free: 35.12 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001761/0.8435, allocations: 0.5434 MB / 0.6051 GB, free: 35.07 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/0.8439, allocations: 150 kB / 0.6053 GB, free: 35.06 MB / 395.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8439, allocations: 4 kB / 0.6053 GB, free: 35.05 MB / 395.1 MB Notification: Performance of Templates: time 0.06451/0.9084, allocations: 33.48 MB / 0.638 GB, free: 18.89 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)