Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 99.86 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.00144/0.00144, 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.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.0005123/0.0005125, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3625, allocations: 47.58 MB / 326.4 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01091/0.3734, allocations: 7.812 MB / 334.3 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008562/0.3821, allocations: 2.972 MB / 337.2 MB, free: 8.703 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.3846, allocations: 39.81 kB / 337.3 MB, free: 8.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3865, allocations: 0.513 MB / 337.8 MB, free: 8.148 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.3902, allocations: 0.6543 MB / 338.4 MB, free: 7.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3913, allocations: 251.5 kB / 338.7 MB, free: 7.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.3949, allocations: 1.607 MB / 340.3 MB, free: 5.629 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.3967, allocations: 1.197 MB / 341.5 MB, free: 4.402 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.3984, allocations: 0.7628 MB / 342.2 MB, free: 3.637 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.4, allocations: 0.9494 MB / 343.2 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.4003, allocations: 120 kB / 343.3 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.4009, allocations: 183.9 kB / 343.5 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006537/0.4016, allocations: 0.5608 MB / 344.1 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.4022, allocations: 452.6 kB / 344.5 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.4054, allocations: 2.875 MB / 347.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4054, allocations: 0 / 347.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4054, allocations: 0 / 347.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.238e-05/0.4055, allocations: 4 kB / 347.4 MB, free: 14.48 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005131/0.4107, allocations: 2.186 MB / 349.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4107, allocations: 16.03 kB / 349.6 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/0.4116, allocations: 257.1 kB / 349.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.4143, allocations: 1.236 MB / 351.1 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.4144, allocations: 139.8 kB / 351.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.4147, allocations: 191.9 kB / 351.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/0.4191, allocations: 2.395 MB / 353.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.4191, allocations: 11.83 kB / 353.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.4193, allocations: 79.98 kB / 353.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.4194, allocations: 87.69 kB / 354 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.423, allocations: 1.958 MB / 355.9 MB, free: 5.789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.4359, allocations: 7.836 MB / 363.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.4377, allocations: 1.227 MB / 365 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.4381, allocations: 123.1 kB / 365.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.886e-05/0.4382, allocations: 47.52 kB / 365.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 4.608e-06/0.4382, allocations: 0 / 365.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01295/0.4511, allocations: 5.899 MB / 371 MB, free: 6.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.4513, allocations: 64.41 kB / 371.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.4532, allocations: 1.255 MB / 372.4 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-05/0.4533, allocations: 49.64 kB / 372.4 MB, free: 4.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007446/0.4541, allocations: 0.916 MB / 373.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.4544, allocations: 390.4 kB / 373.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.4545, allocations: 24 kB / 373.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4547, allocations: 365.9 kB / 374.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000956/0.4556, allocations: 0.6325 MB / 374.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.4569, allocations: 0.9886 MB / 375.7 MB, free: 1.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.4582, allocations: 0.7876 MB / 376.5 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.4582, allocations: 4 kB / 376.5 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004216/0.4625, allocations: 2.229 MB / 378.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.4625, allocations: 8 kB / 378.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.4625, allocations: 12.31 kB / 378.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4638, allocations: 487.9 kB / 379.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4648, allocations: 303.5 kB / 379.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00704/0.4719, allocations: 6.597 MB / 386.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.4734, allocations: 91.89 kB / 386.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4735, allocations: 52 kB / 386.3 MB, free: 6.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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: 3 * 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: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001346/0.4748, allocations: 0.6027 MB / 386.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.4752, allocations: 154.2 kB / 387 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.4785, allocations: 1.946 MB / 389 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4785, allocations: 12 kB / 389 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4786, allocations: 4 kB / 389 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4786, allocations: 7.969 kB / 389 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007316/0.4859, allocations: 4.064 MB / 393 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4859, allocations: 0 / 393 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.4867, allocations: 191.6 kB / 393.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.4882, allocations: 0.5233 MB / 393.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.165e-05/0.4883, allocations: 35.98 kB / 393.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008583/0.4969, allocations: 8.136 MB / 401.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.497, allocations: 4 kB / 401.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/0.5023, allocations: 2.964 MB / 404.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009803/0.5033, allocations: 359.2 kB / 405.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.5035, allocations: 24 kB / 405.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.5042, allocations: 67.92 kB / 405.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.5045, allocations: 96.86 kB / 405.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.5046, allocations: 35.98 kB / 405.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.506, allocations: 0.8448 MB / 406.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.506, allocations: 0 / 406.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001792/0.5078, allocations: 436 kB / 406.7 MB, free: 1.055 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003894/0.5082, allocations: 151 kB / 406.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003655/0.5118, allocations: 2.225 MB / 409.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.5119, allocations: 0 / 409.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.5142, allocations: 1.507 MB / 410.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.5164, allocations: 372.8 kB / 411 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/0.524, allocations: 4.914 MB / 415.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.5256, allocations: 1.689 MB / 417.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001262/0.5268, allocations: 328.8 kB / 417.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.5271, allocations: 95.42 kB / 418 MB, free: 5.539 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5271, allocations: 0 / 418 MB, free: 5.539 MB / 350.1 MB Notification: Performance of Templates: time 0.04538/0.5725, allocations: 21.43 MB / 439.4 MB, free: 80 kB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) Environment - environmentSimulation: