Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 106.9 kB / 16.51 MB, free: 6.707 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.001411/0.001411, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.986/1.986, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001327/0.001327, allocations: 47.94 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1449, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01473/0.1597, allocations: 9.695 MB / 335.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00873/0.1685, allocations: 3.109 MB / 338.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.1716, allocations: 39.81 kB / 338.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.1746, allocations: 0.5827 MB / 339.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.1788, allocations: 0.7383 MB / 340.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1801, allocations: 343.7 kB / 340.5 MB, free: 6.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005684/0.1858, allocations: 3.542 MB / 344 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/0.1891, allocations: 2.008 MB / 346 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.1918, allocations: 1.175 MB / 347.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.195, allocations: 1.615 MB / 348.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006968/0.1957, allocations: 224 kB / 349 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.197, allocations: 315.8 kB / 349.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.1981, allocations: 0.845 MB / 350.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002333/0.2005, allocations: 1.442 MB / 351.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00624/0.2067, allocations: 4.529 MB / 356.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.2068, allocations: 0 / 356.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2068, allocations: 4 kB / 356.2 MB, free: 6.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000212/0.207, allocations: 0 / 356.2 MB, free: 6.512 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.0103/0.2173, allocations: 3.217 MB / 359.4 MB, free: 3.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.355e-05/0.2174, allocations: 8.031 kB / 359.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.2186, allocations: 321.3 kB / 359.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.222, allocations: 1.627 MB / 361.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.2222, allocations: 172.9 kB / 361.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.2226, allocations: 235.8 kB / 361.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/0.2299, allocations: 3.192 MB / 364.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-05/0.23, allocations: 4 kB / 364.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.2302, allocations: 92 kB / 365 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.2304, allocations: 100.4 kB / 365.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/0.236, allocations: 2.746 MB / 367.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.2545, allocations: 9.879 MB / 377.7 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2658/0.5202, allocations: 2.085 MB / 379.8 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.523, allocations: 1.206 MB / 381 MB, free: 50.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.5233, allocations: 122 kB / 381.1 MB, free: 50.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.5234, allocations: 49.53 kB / 381.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.397e-06/0.5234, allocations: 0 / 381.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02037/0.5438, allocations: 7.999 MB / 389.2 MB, free: 47.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.5439, allocations: 67.34 kB / 389.3 MB, free: 47.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.5467, allocations: 1.679 MB / 390.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.547, allocations: 51.8 kB / 391 MB, free: 46.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008852/0.5479, allocations: 1.087 MB / 392.1 MB, free: 45.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005629/0.5485, allocations: 490.5 kB / 392.5 MB, free: 45.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006513/0.5491, allocations: 290.1 kB / 392.8 MB, free: 45.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5492, allocations: 301.1 kB / 393.1 MB, free: 45.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.5516, allocations: 0.9097 MB / 394 MB, free: 44.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.5539, allocations: 1.262 MB / 395.3 MB, free: 44.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.5567, allocations: 2.25 MB / 397.5 MB, free: 42.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.5567, allocations: 2.875 kB / 397.5 MB, free: 42.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005086/0.5618, allocations: 3.053 MB / 400.6 MB, free: 41.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.5619, allocations: 7.781 kB / 400.6 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.5619, allocations: 11.5 kB / 400.6 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.5639, allocations: 0.8383 MB / 401.5 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5652, allocations: 311.5 kB / 401.8 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/0.5742, allocations: 9.062 MB / 410.8 MB, free: 30.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.5763, allocations: 99.91 kB / 410.9 MB, free: 30.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.5765, allocations: 60 kB / 411 MB, free: 30.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002175/0.5787, allocations: 0.8094 MB / 411.8 MB, free: 29.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/0.5794, allocations: 185.7 kB / 412 MB, free: 29.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/0.5841, allocations: 2.842 MB / 414.8 MB, free: 26.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5842, allocations: 12 kB / 414.8 MB, free: 26.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.5842, allocations: 8 kB / 414.8 MB, free: 26.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.5842, allocations: 7.969 kB / 414.8 MB, free: 26.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/0.5937, allocations: 5.684 MB / 420.5 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5937, allocations: 4.031 kB / 420.5 MB, free: 20.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008334/0.5946, allocations: 195.7 kB / 420.7 MB, free: 20.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.5967, allocations: 0.9024 MB / 421.6 MB, free: 19.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.5969, allocations: 35.98 kB / 421.7 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0097/0.6066, allocations: 10.55 MB / 432.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.6066, allocations: 7.969 kB / 432.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/0.6133, allocations: 4.144 MB / 436.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/0.615, allocations: 466.7 kB / 436.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.6154, allocations: 30 kB / 436.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000979/0.6164, allocations: 86.81 kB / 436.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/0.6168, allocations: 151.4 kB / 437.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/0.6169, allocations: 39.98 kB / 437.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.6185, allocations: 1.149 MB / 438.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6185, allocations: 0 / 438.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002628/0.6211, allocations: 0.5585 MB / 438.8 MB, free: 1.742 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0005675/0.6217, allocations: 195.1 kB / 439 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004771/0.6265, allocations: 2.989 MB / 442 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.6265, allocations: 4 kB / 442 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003589/0.6301, allocations: 2.03 MB / 444 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.6332, allocations: 475.8 kB / 444.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.6439, allocations: 6.221 MB / 450.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.6461, allocations: 2.024 MB / 452.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.6478, allocations: 407.3 kB / 453.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.6482, allocations: 111.4 kB / 453.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6482, allocations: 0 / 453.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of Templates: time 0.066/0.7142, allocations: 31.48 MB / 484.7 MB, free: 3.578 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)