Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001072/0.001072, 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.0009934/0.0009933, allocations: 177.3 kB / 15.95 MB, free: 216 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.913/1.913, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004543/0.0004545, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01012/0.2945, allocations: 7.808 MB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00713/0.3017, allocations: 2.974 MB / 337.2 MB, free: 8.723 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.3039, allocations: 39.81 kB / 337.3 MB, free: 8.684 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.3062, allocations: 0.513 MB / 337.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.3091, allocations: 0.6543 MB / 338.4 MB, free: 7.512 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3102, allocations: 247.6 kB / 338.7 MB, free: 7.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.3132, allocations: 1.599 MB / 340.3 MB, free: 5.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.3146, allocations: 1.197 MB / 341.5 MB, free: 4.434 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3159, allocations: 0.7667 MB / 342.2 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.3171, allocations: 0.9494 MB / 343.2 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.3173, allocations: 120 kB / 343.3 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.3179, allocations: 187.9 kB / 343.5 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.3184, allocations: 0.5647 MB / 344.1 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.3189, allocations: 456.5 kB / 344.5 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.3214, allocations: 2.871 MB / 347.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.3214, allocations: 0 / 347.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3214, allocations: 0 / 347.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.284e-05/0.3215, allocations: 0 / 347.4 MB, free: 14.51 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.004042/0.3255, allocations: 2.186 MB / 349.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3256, allocations: 12.03 kB / 349.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.3262, allocations: 261.1 kB / 349.8 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.3284, allocations: 1.232 MB / 351.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3285, allocations: 147.8 kB / 351.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.3287, allocations: 191.9 kB / 351.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.3323, allocations: 2.391 MB / 353.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/0.3323, allocations: 11.84 kB / 353.8 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.3325, allocations: 76 kB / 353.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.27e-05/0.3326, allocations: 87.67 kB / 354 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/0.3357, allocations: 1.955 MB / 355.9 MB, free: 5.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.3498, allocations: 7.844 MB / 363.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3515, allocations: 1.22 MB / 365 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3518, allocations: 130 kB / 365.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.3518, allocations: 47.52 kB / 365.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.086e-06/0.3518, allocations: 0 / 365.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01308/0.3649, allocations: 5.887 MB / 371 MB, free: 6.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.365, allocations: 68.34 kB / 371.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.367, allocations: 1.251 MB / 372.4 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.3672, allocations: 45.7 kB / 372.4 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.3679, allocations: 0.9199 MB / 373.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.3682, allocations: 390.4 kB / 373.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.3683, allocations: 24 kB / 373.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3685, allocations: 361.9 kB / 374.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009643/0.3695, allocations: 0.6324 MB / 374.7 MB, free: 2.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3708, allocations: 0.9926 MB / 375.7 MB, free: 1.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.372, allocations: 0.7876 MB / 376.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3721, allocations: 8 kB / 376.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004067/0.3761, allocations: 2.233 MB / 378.7 MB, free: 14.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.3762, allocations: 8 kB / 378.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.3762, allocations: 12 kB / 378.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.3774, allocations: 488.1 kB / 379.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.3785, allocations: 307.4 kB / 379.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.3856, allocations: 6.593 MB / 386.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3868, allocations: 87.83 kB / 386.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.3869, allocations: 55.98 kB / 386.3 MB, free: 6.383 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.001261/0.3882, allocations: 0.6028 MB / 386.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.3885, allocations: 150.2 kB / 387 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.3918, allocations: 1.949 MB / 389 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.3918, allocations: 16 kB / 389 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.3918, allocations: 4 kB / 389 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3919, allocations: 7.969 kB / 389 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006839/0.3987, allocations: 4.064 MB / 393.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.3987, allocations: 7.938 kB / 393.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.3995, allocations: 187.7 kB / 393.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.4009, allocations: 0.5242 MB / 393.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/0.4011, allocations: 39.91 kB / 393.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008056/0.4091, allocations: 8.124 MB / 401.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.4092, allocations: 4 kB / 401.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/0.4138, allocations: 2.964 MB / 404.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009156/0.4147, allocations: 351.2 kB / 405.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.4149, allocations: 27.98 kB / 405.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.4156, allocations: 75.92 kB / 405.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.4159, allocations: 92.86 kB / 405.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.4159, allocations: 32 kB / 405.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.4171, allocations: 0.8526 MB / 406.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4171, allocations: 0 / 406.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001491/0.4186, allocations: 432 kB / 406.7 MB, free: 1.086 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.0002837/0.4189, allocations: 143.1 kB / 406.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.4222, allocations: 2.232 MB / 409.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4223, allocations: 0 / 409.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.4245, allocations: 1.495 MB / 410.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.4265, allocations: 377.5 kB / 411 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/0.435, allocations: 4.922 MB / 415.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.4368, allocations: 1.681 MB / 417.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.4381, allocations: 324.8 kB / 417.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.4385, allocations: 99.42 kB / 418 MB, free: 5.578 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4385, allocations: 0 / 418 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Templates: time 0.04068/0.4792, allocations: 21.44 MB / 439.4 MB, free: 104 kB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) Environment - environmentSimulation: