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.01308/0.01308, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.002161/0.002162, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.951/1.951, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001797/0.001797, allocations: 50.5 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01706/0.1748, allocations: 9.646 MB / 382.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009556/0.1845, allocations: 3.07 MB / 385.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.1878, allocations: 43.81 kB / 385.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.191, allocations: 0.6638 MB / 386.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.1957, allocations: 0.7765 MB / 387.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1976, allocations: 375.4 kB / 387.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005749/0.2034, allocations: 2.464 MB / 390.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003797/0.2072, allocations: 1.719 MB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/0.2104, allocations: 1.078 MB / 393 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.2139, allocations: 1.312 MB / 394.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.2154, allocations: 280 kB / 394.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.2175, allocations: 367.8 kB / 395 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.2196, allocations: 0.7791 MB / 395.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004944/0.2245, allocations: 1.268 MB / 397 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.2321, allocations: 3.649 MB / 400.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.2321, allocations: 0 / 400.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.2322, allocations: 0 / 400.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001665/0.2323, allocations: 0 / 400.6 MB, free: 5.684 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.007908/0.2402, allocations: 2.575 MB / 403.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.2403, allocations: 11.89 kB / 403.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.2413, allocations: 270 kB / 403.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.2444, allocations: 1.264 MB / 404.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.2446, allocations: 144.1 kB / 404.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/0.245, allocations: 208 kB / 405.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005891/0.2509, allocations: 2.411 MB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-05/0.2511, allocations: 8 kB / 407.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.2513, allocations: 76 kB / 407.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.2514, allocations: 95.61 kB / 407.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/0.2555, allocations: 1.959 MB / 409.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/0.2728, allocations: 7.765 MB / 417.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2747, allocations: 1.224 MB / 418.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.2767, allocations: 0.9635 MB / 419.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.277, allocations: 126 kB / 419.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.2771, allocations: 51.5 kB / 419.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.507e-06/0.2771, allocations: 0 / 419.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01435/0.2914, allocations: 5.859 MB / 425.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.2915, allocations: 64.41 kB / 425.7 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.2944, allocations: 1.31 MB / 427 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.2946, allocations: 45.7 kB / 427.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000847/0.2954, allocations: 0.9198 MB / 428 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/0.2959, allocations: 386.4 kB / 428.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/0.2963, allocations: 247.5 kB / 428.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2965, allocations: 357.9 kB / 428.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.2978, allocations: 0.6402 MB / 429.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.2993, allocations: 1.004 MB / 430.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.302, allocations: 1.727 MB / 432.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.302, allocations: 4 kB / 432.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004905/0.307, allocations: 2.253 MB / 434.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.307, allocations: 8.312 kB / 434.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/0.3071, allocations: 16 kB / 434.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.3085, allocations: 491.9 kB / 435.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3097, allocations: 303.5 kB / 435.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009045/0.3187, allocations: 7.128 MB / 442.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.3209, allocations: 83.98 kB / 442.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.3213, allocations: 59.98 kB / 442.6 MB, free: 10.26 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.002263/0.3235, allocations: 0.6026 MB / 443.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.3242, allocations: 146.2 kB / 443.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/0.3288, allocations: 1.968 MB / 445.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.3289, allocations: 12 kB / 445.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/0.3289, allocations: 4 kB / 445.4 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.329, allocations: 7.969 kB / 445.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.3393, allocations: 4.121 MB / 449.5 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.3394, allocations: 8.281 kB / 449.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/0.3404, allocations: 187.7 kB / 449.7 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.3422, allocations: 0.5352 MB / 450.2 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.3424, allocations: 35.92 kB / 450.3 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3451/0.6875, allocations: 8.735 MB / 459 MB, free: 65.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.6876, allocations: 6.156 kB / 459 MB, free: 65.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006304/0.6939, allocations: 2.847 MB / 461.8 MB, free: 64.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.695, allocations: 356.7 kB / 462.2 MB, free: 64.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.6953, allocations: 27.75 kB / 462.2 MB, free: 64.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/0.6962, allocations: 72 kB / 462.3 MB, free: 64.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.6965, allocations: 88.02 kB / 462.4 MB, free: 64.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.6966, allocations: 29.06 kB / 462.4 MB, free: 64.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001827/0.6984, allocations: 0.8896 MB / 463.3 MB, free: 64.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6985, allocations: 1.688 kB / 463.3 MB, free: 64.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002217/0.7007, allocations: 439.2 kB / 463.7 MB, free: 64.04 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.0005335/0.7012, allocations: 194.1 kB / 463.9 MB, free: 63.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004429/0.7057, allocations: 2.234 MB / 466.2 MB, free: 62.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7057, allocations: 1.406 kB / 466.2 MB, free: 62.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.7083, allocations: 1.497 MB / 467.6 MB, free: 61.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.7107, allocations: 410.1 kB / 468.1 MB, free: 61.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/0.7182, allocations: 4.106 MB / 472.2 MB, free: 59.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.7195, allocations: 1.653 MB / 473.8 MB, free: 58.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001234/0.7207, allocations: 327.5 kB / 474.1 MB, free: 58.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.721, allocations: 98.03 kB / 474.2 MB, free: 58.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.721, allocations: 0 / 474.2 MB, free: 58.82 MB / 382.1 MB Notification: Performance of Templates: time 0.0407/0.7617, allocations: 24.09 MB / 498.3 MB, free: 38.14 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (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)