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.001372/0.001372, allocations: 102 kB / 17.06 MB, free: 6.145 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.001507/0.001507, allocations: 195 kB / 18 MB, free: 5.219 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.993/1.993, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001599/0.001599, allocations: 51.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1528, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.3524/0.5053, allocations: 9.745 MB / 384.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.5141, allocations: 3.146 MB / 387.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.5172, allocations: 46.62 kB / 387.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.5201, allocations: 0.6676 MB / 388.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.5247, allocations: 0.8185 MB / 388.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5263, allocations: 391.4 kB / 389.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.5332, allocations: 3.095 MB / 392.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004037/0.5373, allocations: 2.387 MB / 394.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.5409, allocations: 1.378 MB / 396.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/0.5455, allocations: 1.685 MB / 397.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.5466, allocations: 361.2 kB / 398.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.5486, allocations: 450.4 kB / 398.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.5499, allocations: 1.006 MB / 399.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003/0.5529, allocations: 1.598 MB / 401.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008104/0.561, allocations: 4.711 MB / 406 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5611, allocations: 3.938 kB / 406 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5611, allocations: 1.25 kB / 406 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000182/0.5613, allocations: 0 / 406 MB, free: 12.74 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01033/0.5716, allocations: 3.222 MB / 409.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/0.5717, allocations: 13.45 kB / 409.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.573, allocations: 317.1 kB / 409.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.5771, allocations: 1.638 MB / 411.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.5772, allocations: 176.5 kB / 411.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000371/0.5776, allocations: 227.2 kB / 411.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006366/0.584, allocations: 3.194 MB / 414.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-05/0.5841, allocations: 6.688 kB / 414.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.5844, allocations: 92.53 kB / 414.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.5845, allocations: 102.5 kB / 414.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/0.5897, allocations: 2.75 MB / 417.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0204/0.6102, allocations: 9.773 MB / 427.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.6133, allocations: 2.083 MB / 429.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.6156, allocations: 1.221 MB / 430.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.6159, allocations: 122.1 kB / 430.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.616, allocations: 47.5 kB / 430.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.106e-06/0.616, allocations: 0 / 430.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.02016/0.6361, allocations: 7.993 MB / 438.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.6362, allocations: 68.72 kB / 439 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.639, allocations: 1.672 MB / 440.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6392, allocations: 49.7 kB / 440.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008241/0.64, allocations: 1.089 MB / 441.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.6404, allocations: 485 kB / 442.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005506/0.641, allocations: 295.4 kB / 442.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6412, allocations: 305.1 kB / 442.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.6427, allocations: 0.9057 MB / 443.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.6445, allocations: 1.259 MB / 445 MB, free: 8.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.6477, allocations: 2.258 MB / 447.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6477, allocations: 4 kB / 447.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005241/0.6529, allocations: 3.044 MB / 450.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.653, allocations: 12 kB / 450.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.653, allocations: 8.438 kB / 450.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.655, allocations: 0.849 MB / 451.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6561, allocations: 307.5 kB / 451.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.6673, allocations: 9.912 MB / 461.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.6691, allocations: 95.91 kB / 461.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.6693, allocations: 60 kB / 461.6 MB, free: 6.957 MB / 382.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.001737/0.671, allocations: 0.8096 MB / 462.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.6715, allocations: 185.8 kB / 462.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.6764, allocations: 2.838 MB / 465.4 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.6764, allocations: 16 kB / 465.4 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6764, allocations: 8 kB / 465.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.6764, allocations: 7.969 kB / 465.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.6868, allocations: 5.668 MB / 471.1 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.6869, allocations: 4 kB / 471.1 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.6877, allocations: 199.7 kB / 471.3 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.69, allocations: 0.8902 MB / 472.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.6901, allocations: 35.98 kB / 472.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.7025, allocations: 11.53 MB / 483.7 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.7025, allocations: 7.938 kB / 483.7 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/0.7095, allocations: 4.138 MB / 487.9 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.7111, allocations: 466.7 kB / 488.3 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.7114, allocations: 32.38 kB / 488.4 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/0.7124, allocations: 79.91 kB / 488.4 MB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/0.7128, allocations: 145 kB / 488.6 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/0.7129, allocations: 43.98 kB / 488.6 MB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.7148, allocations: 1.153 MB / 489.8 MB, free: 9.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7148, allocations: 0 / 489.8 MB, free: 9.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002394/0.7172, allocations: 0.5586 MB / 490.3 MB, free: 9.359 MB / 414.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.0006253/0.7178, allocations: 188.6 kB / 490.5 MB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00547/0.7233, allocations: 3.006 MB / 493.5 MB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.7233, allocations: 0 / 493.5 MB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.7265, allocations: 2.042 MB / 495.6 MB, free: 3.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.7294, allocations: 0.4999 MB / 496.1 MB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009419/0.7388, allocations: 5.148 MB / 0.4895 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.7406, allocations: 2.032 MB / 0.4915 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001349/0.742, allocations: 399.3 kB / 0.4918 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.7423, allocations: 115.4 kB / 0.492 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7424, allocations: 0 / 0.492 GB, free: 11.7 MB / 430.1 MB Notification: Performance of Templates: time 0.06518/0.8075, allocations: 33.83 MB / 0.525 GB, free: 9.801 MB / 462.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)