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.009178/0.009178, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001564/0.001564, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.00128/0.00128, allocations: 50.98 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1416, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01375/0.1554, allocations: 9.642 MB / 382.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00955/0.165, allocations: 3.078 MB / 385.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.1672, allocations: 39.88 kB / 385.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.1695, allocations: 0.6247 MB / 386.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.1729, allocations: 0.7453 MB / 387.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.174, allocations: 383.4 kB / 387.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004387/0.1784, allocations: 2.464 MB / 390.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.1815, allocations: 1.719 MB / 391.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.184, allocations: 1.063 MB / 392.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.1861, allocations: 1.315 MB / 394.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.1865, allocations: 280 kB / 394.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.1873, allocations: 367.8 kB / 394.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009024/0.1882, allocations: 0.7752 MB / 395.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.1902, allocations: 1.268 MB / 396.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005014/0.1952, allocations: 3.649 MB / 400.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1952, allocations: 0 / 400.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1953, allocations: 4 kB / 400.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.664e-05/0.1953, allocations: 0 / 400.6 MB, free: 5.762 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.00749/0.2028, allocations: 2.575 MB / 403.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.672e-05/0.2029, allocations: 15.89 kB / 403.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.204, allocations: 262 kB / 403.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.207, allocations: 1.268 MB / 404.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.2072, allocations: 148.1 kB / 404.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.2075, allocations: 192 kB / 405 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/0.2124, allocations: 2.422 MB / 407.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.2125, allocations: 7.938 kB / 407.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.2127, allocations: 76 kB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.2129, allocations: 99.59 kB / 407.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.2169, allocations: 1.959 MB / 409.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.2321, allocations: 7.762 MB / 417.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.234, allocations: 1.234 MB / 418.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.236, allocations: 0.9644 MB / 419.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.2363, allocations: 114.1 kB / 419.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.2363, allocations: 47.56 kB / 419.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.958e-06/0.2364, allocations: 0 / 419.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01561/0.252, allocations: 5.866 MB / 425.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.2521, allocations: 64.41 kB / 425.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.2548, allocations: 1.306 MB / 426.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.255, allocations: 49.7 kB / 427 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009096/0.2559, allocations: 0.916 MB / 427.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.2563, allocations: 386.4 kB / 428.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/0.2568, allocations: 243.5 kB / 428.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.257, allocations: 361.9 kB / 428.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.2582, allocations: 0.648 MB / 429.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.2598, allocations: 0.9926 MB / 430.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.2629, allocations: 1.731 MB / 432.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.2629, allocations: 8 kB / 432.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005004/0.2679, allocations: 2.249 MB / 434.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.268, allocations: 8 kB / 434.5 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.268, allocations: 12 kB / 434.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.2695, allocations: 488.2 kB / 435 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.2706, allocations: 303.5 kB / 435.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.2811, allocations: 7.14 MB / 442.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.2833, allocations: 79.91 kB / 442.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.2834, allocations: 56 kB / 442.6 MB, free: 10.34 MB / 382.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.001477/0.2849, allocations: 0.6028 MB / 443.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.2854, allocations: 150.2 kB / 443.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.2891, allocations: 1.968 MB / 445.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.2891, allocations: 8 kB / 445.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.2892, allocations: 8 kB / 445.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.2892, allocations: 7.969 kB / 445.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/0.2976, allocations: 4.125 MB / 449.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.2976, allocations: 7.984 kB / 449.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/0.2985, allocations: 179.8 kB / 449.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/0.3, allocations: 0.539 MB / 450.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.3001, allocations: 39.98 kB / 450.2 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2666/0.5667, allocations: 8.73 MB / 458.9 MB, free: 65.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5668, allocations: 8.688 kB / 458.9 MB, free: 65.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.5719, allocations: 2.845 MB / 461.8 MB, free: 64.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008608/0.5728, allocations: 357.3 kB / 462.1 MB, free: 64.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.573, allocations: 27.91 kB / 462.1 MB, free: 64.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.5738, allocations: 70.94 kB / 462.2 MB, free: 64.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.5742, allocations: 90.62 kB / 462.3 MB, free: 64.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.5742, allocations: 32.42 kB / 462.3 MB, free: 64.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.5758, allocations: 0.8864 MB / 463.2 MB, free: 63.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5758, allocations: 0 / 463.2 MB, free: 63.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002047/0.5779, allocations: 439.4 kB / 463.7 MB, free: 63.86 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.000463/0.5784, allocations: 194.5 kB / 463.8 MB, free: 63.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.5825, allocations: 2.224 MB / 466.1 MB, free: 62.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5825, allocations: 0 / 466.1 MB, free: 62.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.5849, allocations: 1.508 MB / 467.6 MB, free: 61.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5871, allocations: 418.8 kB / 468 MB, free: 61.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/0.5946, allocations: 4.109 MB / 472.1 MB, free: 59.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.5958, allocations: 1.651 MB / 473.7 MB, free: 58.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.5968, allocations: 317.4 kB / 474.1 MB, free: 58.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.5971, allocations: 101.7 kB / 474.2 MB, free: 58.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5971, allocations: 0 / 474.2 MB, free: 58.65 MB / 382.1 MB Notification: Performance of Templates: time 0.03811/0.6352, allocations: 24.09 MB / 498.2 MB, free: 37.97 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)