Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009653/0.009652, allocations: 97.36 kB / 15.73 MB, free: 6.035 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.001386/0.001386, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.905/1.905, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001333/0.001333, allocations: 53.34 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1585, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01616/0.1747, allocations: 11.76 MB / 384.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.1861, allocations: 3.806 MB / 388.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.1901, allocations: 63.69 kB / 388.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.1942, allocations: 0.8655 MB / 389.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007039/0.2013, allocations: 1.072 MB / 390.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.2042, allocations: 499.3 kB / 391.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009904/0.2141, allocations: 4.273 MB / 395.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007805/0.222, allocations: 3.209 MB / 398.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00584/0.2279, allocations: 1.889 MB / 400.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006219/0.2341, allocations: 2.328 MB / 402.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00264/0.2368, allocations: 0.4999 MB / 403.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004956/0.2418, allocations: 0.5897 MB / 404 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003861/0.2457, allocations: 1.391 MB / 405.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008373/0.2541, allocations: 2.209 MB / 407.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.268, allocations: 6.575 MB / 414.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.2681, allocations: 4 kB / 414.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.2681, allocations: 3.938 kB / 414.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004663/0.2686, allocations: 0 / 414.2 MB, free: 8.066 MB / 350.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.01933/0.2879, allocations: 4.388 MB / 418.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.288, allocations: 11.89 kB / 418.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.2901, allocations: 462.3 kB / 419.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/0.2974, allocations: 2.271 MB / 421.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.2981, allocations: 234.2 kB / 421.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.3002, allocations: 304 kB / 421.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.3169, allocations: 4.361 MB / 426.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.3171, allocations: 11.94 kB / 426.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.3176, allocations: 124 kB / 426.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/0.3178, allocations: 134 kB / 426.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008872/0.3267, allocations: 3.775 MB / 430.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0325/0.3592, allocations: 13.43 MB / 443.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.3637, allocations: 2.895 MB / 446.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.3669, allocations: 1.684 MB / 448.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.3672, allocations: 138.4 kB / 448.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/0.3673, allocations: 47.88 kB / 448.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 4.168e-06/0.3673, allocations: 0 / 448.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.3872/0.7545, allocations: 9.265 MB / 457.7 MB, free: 67.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.7546, allocations: 71.95 kB / 457.8 MB, free: 67.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005223/0.7598, allocations: 2.357 MB / 460.1 MB, free: 66.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003726/0.7602, allocations: 57.23 kB / 460.2 MB, free: 66.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.7615, allocations: 1.501 MB / 461.7 MB, free: 65.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00066/0.7621, allocations: 0.6347 MB / 462.3 MB, free: 65.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006928/0.7628, allocations: 367.5 kB / 462.7 MB, free: 65.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.7629, allocations: 308.6 kB / 463 MB, free: 64.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.7649, allocations: 1.121 MB / 464.1 MB, free: 64.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.767, allocations: 1.571 MB / 465.7 MB, free: 63.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/0.7709, allocations: 2.791 MB / 468.5 MB, free: 62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.7709, allocations: 4.125 kB / 468.5 MB, free: 62 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006271/0.7772, allocations: 3.596 MB / 472.1 MB, free: 60.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.7773, allocations: 15.88 kB / 472.1 MB, free: 60.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.7773, allocations: 11.88 kB / 472.1 MB, free: 60.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.7791, allocations: 0.8038 MB / 472.9 MB, free: 60.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.7807, allocations: 460.7 kB / 473.4 MB, free: 60.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008772/0.7895, allocations: 11.17 MB / 484.5 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.792, allocations: 126.1 kB / 484.7 MB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.7922, allocations: 77.23 kB / 484.7 MB, free: 50.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 5 systems {(2,14,100.0%), (1,1,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.00204/0.7943, allocations: 1.092 MB / 485.8 MB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.7948, allocations: 253.9 kB / 486.1 MB, free: 49.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.7995, allocations: 3.301 MB / 489.4 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.7995, allocations: 20 kB / 489.4 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.7996, allocations: 4 kB / 489.4 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.7996, allocations: 11.97 kB / 489.4 MB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.8098, allocations: 6.854 MB / 496.3 MB, free: 39.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.8098, allocations: 3.938 kB / 496.3 MB, free: 39.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.8109, allocations: 302.8 kB / 496.6 MB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.813, allocations: 0.9199 MB / 497.5 MB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.8131, allocations: 39.98 kB / 497.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.8232, allocations: 14.61 MB / 0.5001 GB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8233, allocations: 0 / 0.5001 GB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006551/0.8298, allocations: 4.872 MB / 0.5049 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.8313, allocations: 0.5813 MB / 0.5055 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/0.8317, allocations: 36 kB / 0.5055 GB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.833, allocations: 118.1 kB / 0.5056 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/0.8334, allocations: 161.7 kB / 0.5058 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.8335, allocations: 51.98 kB / 0.5058 GB, free: 17.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.8356, allocations: 1.625 MB / 0.5074 GB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8356, allocations: 0 / 0.5074 GB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002549/0.8381, allocations: 0.71 MB / 0.5081 GB, free: 14.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/0.8385, allocations: 199.1 kB / 0.5083 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.843, allocations: 3.6 MB / 0.5118 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.843, allocations: 5.812 kB / 0.5118 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.8459, allocations: 2.51 MB / 0.5142 GB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/0.8491, allocations: 0.7143 MB / 0.5149 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.8594, allocations: 6.853 MB / 0.5216 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.8616, allocations: 2.521 MB / 0.5241 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00213/0.8638, allocations: 0.5827 MB / 0.5247 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.8643, allocations: 167.4 kB / 0.5248 GB, free: 13.31 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.8643, allocations: 3.938 kB / 0.5248 GB, free: 13.31 MB / 398.1 MB Notification: Performance of Templates: time 0.07249/0.9368, allocations: 40.54 MB / 0.5644 GB, free: 4.754 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)