Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001377/0.001378, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0005213/0.0005213, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3449, allocations: 47.59 MB / 326.5 MB, free: 1.648 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01292/0.3578, allocations: 7.563 MB / 334 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009581/0.3675, allocations: 2.916 MB / 336.9 MB, free: 9.141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002563/0.3701, allocations: 39.81 kB / 337 MB, free: 9.102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.373, allocations: 0.5287 MB / 337.5 MB, free: 8.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.377, allocations: 0.6581 MB / 338.2 MB, free: 7.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3781, allocations: 215.8 kB / 338.4 MB, free: 7.699 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003956/0.3821, allocations: 1.723 MB / 340.1 MB, free: 5.969 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.3845, allocations: 1.339 MB / 341.4 MB, free: 4.598 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.3863, allocations: 0.8251 MB / 342.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.3887, allocations: 1.062 MB / 343.3 MB, free: 2.703 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005916/0.3893, allocations: 132 kB / 343.4 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3904, allocations: 195.9 kB / 343.6 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009784/0.3914, allocations: 0.6426 MB / 344.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.3925, allocations: 0.4887 MB / 344.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.3961, allocations: 3.233 MB / 348 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3961, allocations: 0 / 348 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3961, allocations: 0 / 348 MB, free: 14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.3963, allocations: 0 / 348 MB, free: 14 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005821/0.4021, allocations: 2.428 MB / 350.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4022, allocations: 8.031 kB / 350.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.4034, allocations: 292.7 kB / 350.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.4067, allocations: 1.394 MB / 352.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.4069, allocations: 148 kB / 352.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005189/0.4074, allocations: 211.9 kB / 352.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.4132, allocations: 2.705 MB / 355.2 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.705e-05/0.4133, allocations: 11.94 kB / 355.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/0.4136, allocations: 84 kB / 355.3 MB, free: 6.516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.4138, allocations: 91.92 kB / 355.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.4183, allocations: 2.33 MB / 357.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.4352, allocations: 8.423 MB / 366.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.4376, allocations: 1.772 MB / 367.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.4379, allocations: 130.9 kB / 368 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.438, allocations: 43.56 kB / 368.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 6.332e-06/0.438, allocations: 0 / 368.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01366/0.4516, allocations: 6.209 MB / 374.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4517, allocations: 68.36 kB / 374.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.4543, allocations: 1.458 MB / 375.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4545, allocations: 49.7 kB / 375.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007715/0.4553, allocations: 0.9834 MB / 376.8 MB, free: 452 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.4557, allocations: 417.9 kB / 377.2 MB, free: 28 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.4558, allocations: 28 kB / 377.3 MB, free: 0 / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.456, allocations: 357.9 kB / 377.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4572, allocations: 0.7456 MB / 378.3 MB, free: 14.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4586, allocations: 1.059 MB / 379.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.4601, allocations: 0.8847 MB / 380.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4601, allocations: 7.938 kB / 380.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004115/0.4643, allocations: 2.368 MB / 382.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.4643, allocations: 8 kB / 382.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.4643, allocations: 8 kB / 382.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4654, allocations: 415.5 kB / 383.1 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.4667, allocations: 335.4 kB / 383.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.472, allocations: 4.747 MB / 388.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4733, allocations: 91.89 kB / 388.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.4735, allocations: 56.06 kB / 388.3 MB, free: 4.508 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001598/0.4751, allocations: 0.7081 MB / 389 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/0.4756, allocations: 162 kB / 389.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.4796, allocations: 2.164 MB / 391.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.4797, allocations: 12 kB / 391.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.4797, allocations: 4 kB / 391.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4797, allocations: 3.984 kB / 391.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009577/0.4893, allocations: 4.564 MB / 395.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.4894, allocations: 0 / 395.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.4904, allocations: 235.9 kB / 396.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.4917, allocations: 470.9 kB / 396.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.4918, allocations: 35.92 kB / 396.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/0.4989, allocations: 6.269 MB / 402.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.499, allocations: 0 / 402.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006287/0.5053, allocations: 3.359 MB / 406.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.507, allocations: 398.9 kB / 406.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.5075, allocations: 31.98 kB / 406.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.5087, allocations: 79.92 kB / 406.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.509, allocations: 112.7 kB / 406.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-05/0.5091, allocations: 35.98 kB / 406.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.5111, allocations: 1.001 MB / 407.9 MB, free: 196 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5111, allocations: 0 / 407.9 MB, free: 196 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.00211/0.5133, allocations: 456 kB / 408.4 MB, free: 15.74 MB / 350.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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004182/0.5137, allocations: 150.9 kB / 408.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.5176, allocations: 2.294 MB / 410.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5176, allocations: 4.25 kB / 410.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.52, allocations: 1.503 MB / 412.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.5224, allocations: 405.7 kB / 412.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009053/0.5315, allocations: 5.309 MB / 418 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.5336, allocations: 1.873 MB / 419.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001503/0.5351, allocations: 393.4 kB / 420.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.5356, allocations: 111.4 kB / 420.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5356, allocations: 0 / 420.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of Templates: time 0.04387/0.5795, allocations: 22.97 MB / 443.4 MB, free: 12.47 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: