Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001242/0.001241, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.001627/0.001627, allocations: 182.1 kB / 17.19 MB, free: 5.906 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.99/1.99, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0005471/0.0005473, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3642, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01041/0.3747, allocations: 7.804 MB / 335.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007893/0.3826, allocations: 2.968 MB / 338.5 MB, free: 8.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.3845, allocations: 43.81 kB / 338.5 MB, free: 8.688 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.3863, allocations: 0.5169 MB / 339 MB, free: 8.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.3889, allocations: 0.6543 MB / 339.7 MB, free: 7.512 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.3897, allocations: 243.6 kB / 339.9 MB, free: 7.273 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.3921, allocations: 1.603 MB / 341.5 MB, free: 5.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.3936, allocations: 1.204 MB / 342.7 MB, free: 4.426 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3947, allocations: 0.759 MB / 343.5 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.396, allocations: 0.9455 MB / 344.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.3962, allocations: 120 kB / 344.6 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.3967, allocations: 191.9 kB / 344.8 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.3973, allocations: 0.5608 MB / 345.3 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.3977, allocations: 452.6 kB / 345.8 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.4002, allocations: 2.871 MB / 348.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4002, allocations: 4 kB / 348.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4002, allocations: 0 / 348.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.32e-05/0.4003, allocations: 0 / 348.6 MB, free: 14.52 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.004147/0.4044, allocations: 2.19 MB / 350.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.4045, allocations: 12.03 kB / 350.8 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.4052, allocations: 261.1 kB / 351.1 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.4074, allocations: 1.228 MB / 352.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4075, allocations: 143.8 kB / 352.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.4078, allocations: 191.9 kB / 352.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.4119, allocations: 2.391 MB / 355 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.412, allocations: 11.84 kB / 355 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.4121, allocations: 75.98 kB / 355.1 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/0.4122, allocations: 95.67 kB / 355.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.4155, allocations: 1.958 MB / 357.2 MB, free: 5.816 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.4287, allocations: 7.84 MB / 365 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4306, allocations: 1.224 MB / 366.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.4309, allocations: 126.1 kB / 366.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.431, allocations: 47.52 kB / 366.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/0.431, allocations: 0 / 366.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01316/0.4442, allocations: 5.895 MB / 372.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.4443, allocations: 64.41 kB / 372.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.4462, allocations: 1.255 MB / 373.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.4463, allocations: 41.7 kB / 373.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/0.447, allocations: 0.916 MB / 374.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.4474, allocations: 394.4 kB / 375 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.4474, allocations: 24 kB / 375 MB, free: 3.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4476, allocations: 365.9 kB / 375.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009263/0.4485, allocations: 0.6286 MB / 376 MB, free: 2.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.4498, allocations: 0.9964 MB / 377 MB, free: 1.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4511, allocations: 0.7798 MB / 377.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.4511, allocations: 4 kB / 377.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004214/0.4553, allocations: 2.234 MB / 380 MB, free: 14.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.4554, allocations: 12 kB / 380 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.4554, allocations: 15.98 kB / 380 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.4566, allocations: 487.9 kB / 380.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4577, allocations: 303.5 kB / 380.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006966/0.4647, allocations: 6.597 MB / 387.4 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4661, allocations: 91.81 kB / 387.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.4662, allocations: 55.94 kB / 387.5 MB, free: 6.371 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.001402/0.4676, allocations: 0.6028 MB / 388.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.4679, allocations: 154.2 kB / 388.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.4716, allocations: 1.949 MB / 390.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4716, allocations: 12 kB / 390.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4716, allocations: 4 kB / 390.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4716, allocations: 7.984 kB / 390.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007232/0.4789, allocations: 4.064 MB / 394.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.479, allocations: 0 / 394.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.4798, allocations: 187.7 kB / 394.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.4812, allocations: 0.528 MB / 395 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.4812, allocations: 31.98 kB / 395.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009209/0.4905, allocations: 8.12 MB / 403.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4905, allocations: 4 kB / 403.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/0.4958, allocations: 2.972 MB / 406.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.4969, allocations: 351.2 kB / 406.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.4971, allocations: 27.98 kB / 406.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.498, allocations: 75.92 kB / 406.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.4982, allocations: 92.86 kB / 406.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-05/0.4983, allocations: 35.98 kB / 406.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001423/0.4998, allocations: 0.8448 MB / 407.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4998, allocations: 384 / 407.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001726/0.5015, allocations: 432 kB / 408 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.0003443/0.5019, allocations: 151.1 kB / 408.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004394/0.5063, allocations: 2.225 MB / 410.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5063, allocations: 3.938 kB / 410.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.5089, allocations: 1.502 MB / 411.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.5111, allocations: 373.3 kB / 412.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008988/0.5201, allocations: 4.918 MB / 417.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.5224, allocations: 1.685 MB / 418.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001489/0.5239, allocations: 320.8 kB / 419.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.5242, allocations: 99.42 kB / 419.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5242, allocations: 0 / 419.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Templates: time 0.04813/0.5724, allocations: 21.44 MB / 440.7 MB, free: 104 kB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) Environment - environmentSimulation: