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.01073/0.01073, allocations: 102 kB / 15.73 MB, free: 6.039 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.002063/0.002063, allocations: 194 kB / 16.67 MB, free: 5.961 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.797/1.797, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001363/0.001363, allocations: 59.92 kB / 326.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1203, allocations: 46.61 MB / 373.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3347/0.4551, allocations: 9.635 MB / 382.8 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009061/0.4642, allocations: 3.079 MB / 385.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003344/0.4676, allocations: 41.19 kB / 385.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.471, allocations: 0.6313 MB / 386.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00686/0.4778, allocations: 0.746 MB / 387.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.4802, allocations: 381 kB / 387.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007441/0.4877, allocations: 2.455 MB / 390.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.4922, allocations: 1.715 MB / 391.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.496, allocations: 1.079 MB / 392.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.4998, allocations: 1.305 MB / 394.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.5015, allocations: 280.2 kB / 394.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.5037, allocations: 375.1 kB / 394.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.5049, allocations: 0.7669 MB / 395.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003115/0.508, allocations: 1.274 MB / 396.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008227/0.5162, allocations: 3.647 MB / 400.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.5163, allocations: 0 / 400.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5164, allocations: 4 kB / 400.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.5166, allocations: 0 / 400.6 MB, free: 15.2 MB / 334.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.01025/0.5268, allocations: 2.577 MB / 403.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.55e-05/0.5269, allocations: 13.36 kB / 403.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.5285, allocations: 268.2 kB / 403.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/0.5325, allocations: 1.269 MB / 404.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.5327, allocations: 141.1 kB / 404.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.5331, allocations: 192.4 kB / 405 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.5398, allocations: 2.424 MB / 407.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/0.5399, allocations: 11 kB / 407.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.5401, allocations: 78.55 kB / 407.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.5403, allocations: 92.08 kB / 407.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.5448, allocations: 1.963 MB / 409.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.5627, allocations: 7.754 MB / 417.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.565, allocations: 1.234 MB / 418.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.5672, allocations: 0.9723 MB / 419.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.5675, allocations: 118.1 kB / 419.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.763e-05/0.5676, allocations: 43.56 kB / 419.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 5.941e-06/0.5677, allocations: 0 / 419.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01643/0.5841, allocations: 5.859 MB / 425.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.5843, allocations: 64.41 kB / 425.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.5873, allocations: 1.306 MB / 426.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.5875, allocations: 41.7 kB / 427 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009532/0.5885, allocations: 0.9198 MB / 427.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.5889, allocations: 390.4 kB / 428.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/0.5894, allocations: 255.4 kB / 428.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.5896, allocations: 357.9 kB / 428.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.5907, allocations: 0.6369 MB / 429.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.5922, allocations: 0.9964 MB / 430.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.595, allocations: 1.735 MB / 432.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.595, allocations: 4 kB / 432.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004404/0.5994, allocations: 2.257 MB / 434.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.5995, allocations: 8 kB / 434.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.5995, allocations: 12.56 kB / 434.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.6009, allocations: 496.1 kB / 435 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.6022, allocations: 303.5 kB / 435.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/0.6106, allocations: 7.124 MB / 442.4 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.6127, allocations: 83.92 kB / 442.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6128, allocations: 59.98 kB / 442.6 MB, free: 8.789 MB / 366.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 (idealOpener.control,idealCloser.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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00172/0.6146, allocations: 0.6034 MB / 443.2 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006326/0.6152, allocations: 146.2 kB / 443.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.6193, allocations: 1.968 MB / 445.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.6193, allocations: 12 kB / 445.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.6194, allocations: 4 kB / 445.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.6194, allocations: 7.969 kB / 445.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009848/0.6292, allocations: 4.128 MB / 449.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.6293, allocations: 4 kB / 449.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.6303, allocations: 191.7 kB / 449.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.6323, allocations: 0.5316 MB / 450.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.6324, allocations: 27.98 kB / 450.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.6437, allocations: 8.762 MB / 458.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6437, allocations: 64 / 458.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005951/0.6497, allocations: 2.863 MB / 461.8 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.6514, allocations: 347.3 kB / 462.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.6517, allocations: 27.98 kB / 462.2 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/0.6527, allocations: 71.92 kB / 462.2 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.653, allocations: 88.84 kB / 462.3 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.6531, allocations: 32 kB / 462.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.6549, allocations: 0.8878 MB / 463.2 MB, free: 3.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6549, allocations: 4 kB / 463.2 MB, free: 3.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002554/0.6574, allocations: 432 kB / 463.7 MB, free: 2.887 MB / 382.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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006398/0.6581, allocations: 186.3 kB / 463.9 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005044/0.6632, allocations: 2.24 MB / 466.1 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.6632, allocations: 0.6875 kB / 466.1 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.6662, allocations: 1.506 MB / 467.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.6692, allocations: 411.1 kB / 468 MB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00923/0.6785, allocations: 4.11 MB / 472.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.6803, allocations: 1.65 MB / 473.8 MB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.6817, allocations: 320.8 kB / 474.1 MB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.6821, allocations: 99.42 kB / 474.2 MB, free: 8.129 MB / 398.1 MB Notification: Performance of SimCode: time 1.422e-06/0.6821, allocations: 0 / 474.2 MB, free: 8.129 MB / 398.1 MB Notification: Performance of Templates: time 0.04913/0.7312, allocations: 24.54 MB / 498.7 MB, free: 15.54 MB / 430.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)