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.001093/0.001093, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001174/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 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.729/1.729, allocations: 205.4 MB / 222.1 MB, free: 5.758 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.0007199/0.00072, allocations: 12 kB / 278.9 MB, free: 12.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3209, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01021/0.3312, allocations: 8.522 MB / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.3386, allocations: 2.89 MB / 337.9 MB, free: 8.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/0.341, allocations: 31.88 kB / 337.9 MB, free: 8.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.3435, allocations: 0.5086 MB / 338.4 MB, free: 7.527 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.347, allocations: 0.633 MB / 339.1 MB, free: 6.891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.3483, allocations: 243.6 kB / 339.3 MB, free: 6.652 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004419/0.3527, allocations: 2.487 MB / 341.8 MB, free: 4.148 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.3557, allocations: 1.2 MB / 343 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.3577, allocations: 0.8326 MB / 343.8 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.36, allocations: 1.097 MB / 344.9 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007385/0.3607, allocations: 124 kB / 345 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3618, allocations: 191.9 kB / 345.2 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.3629, allocations: 0.5918 MB / 345.8 MB, free: 80 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.3643, allocations: 456.6 kB / 346.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.3685, allocations: 2.906 MB / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3685, allocations: 0 / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3685, allocations: 0 / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.3687, allocations: 0 / 349.2 MB, free: 12.71 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.005655/0.3743, allocations: 2.213 MB / 351.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3744, allocations: 8.031 kB / 351.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.3756, allocations: 265.1 kB / 351.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.3786, allocations: 1.209 MB / 352.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.3787, allocations: 143.8 kB / 353 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.379, allocations: 199.8 kB / 353.2 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.3832, allocations: 2.407 MB / 355.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.3833, allocations: 7.906 kB / 355.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.3834, allocations: 76 kB / 355.7 MB, free: 6.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.953e-05/0.3835, allocations: 87.69 kB / 355.8 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.3868, allocations: 1.962 MB / 357.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.3997, allocations: 7.883 MB / 365.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.4018, allocations: 1.223 MB / 366.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.4036, allocations: 0.9527 MB / 367.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.4039, allocations: 118.1 kB / 367.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.4039, allocations: 51.5 kB / 368 MB, free: 9.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.527e-06/0.4039, allocations: 0 / 368 MB, free: 9.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.0131/0.4171, allocations: 5.926 MB / 373.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.4171, allocations: 64.41 kB / 373.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.4196, allocations: 1.286 MB / 375.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.4197, allocations: 45.7 kB / 375.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/0.4206, allocations: 0.9277 MB / 376.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.4209, allocations: 390.4 kB / 376.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.421, allocations: 24 kB / 376.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4212, allocations: 361.9 kB / 377 MB, free: 264 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.4223, allocations: 0.6286 MB / 377.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.4236, allocations: 1.008 MB / 378.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.4251, allocations: 0.7798 MB / 379.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.4251, allocations: 11.89 kB / 379.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004398/0.4296, allocations: 2.245 MB / 381.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.4296, allocations: 8 kB / 381.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.4296, allocations: 12 kB / 381.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.4309, allocations: 496.1 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.432, allocations: 299.5 kB / 382.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.4394, allocations: 6.531 MB / 389 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4407, allocations: 95.88 kB / 389.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.4409, allocations: 52 kB / 389.1 MB, free: 3.523 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.00154/0.4424, allocations: 0.6067 MB / 389.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/0.4429, allocations: 146.2 kB / 389.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/0.4467, allocations: 1.972 MB / 391.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4468, allocations: 12 kB / 391.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.4468, allocations: 4 kB / 391.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.4468, allocations: 3.984 kB / 391.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007539/0.4544, allocations: 4.132 MB / 396 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.4544, allocations: 7.953 kB / 396 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008056/0.4552, allocations: 180 kB / 396.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.4566, allocations: 0.5431 MB / 396.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/0.4568, allocations: 31.92 kB / 396.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008217/0.465, allocations: 8.042 MB / 404.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.465, allocations: 4 kB / 404.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.4698, allocations: 2.849 MB / 407.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4708, allocations: 351.4 kB / 408 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/0.4713, allocations: 31.98 kB / 408 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/0.4723, allocations: 75.92 kB / 408.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.4725, allocations: 88.66 kB / 408.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.4726, allocations: 24.09 kB / 408.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.4744, allocations: 0.8838 MB / 409.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4744, allocations: 4 kB / 409.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001953/0.4764, allocations: 440 kB / 409.5 MB, free: 14.34 MB / 350.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.0003627/0.4767, allocations: 142.4 kB / 409.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003784/0.4805, allocations: 2.236 MB / 411.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.4806, allocations: 0 / 411.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.483, allocations: 1.506 MB / 413.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.4856, allocations: 401.1 kB / 413.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008967/0.4945, allocations: 4.921 MB / 418.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.4966, allocations: 1.646 MB / 420.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001467/0.4981, allocations: 320.8 kB / 420.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.4985, allocations: 95.42 kB / 420.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4986, allocations: 0 / 420.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Templates: time 0.04252/0.5411, allocations: 21.87 MB / 442.6 MB, free: 12.93 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (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)