Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01057/0.01057, allocations: 103.5 kB / 15.74 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.001885/0.001885, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.988/1.988, allocations: 205.1 MB / 222.5 MB, free: 4.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.001395/0.001395, allocations: 57.69 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1463, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01758/0.164, allocations: 12.8 MB / 386 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.1762, allocations: 4.242 MB / 390.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004042/0.1803, allocations: 67.69 kB / 390.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004806/0.1853, allocations: 1.017 MB / 391.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007128/0.1924, allocations: 1.231 MB / 392.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.1957, allocations: 0.5188 MB / 393.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009391/0.2051, allocations: 4.673 MB / 397.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007881/0.2131, allocations: 3.602 MB / 401.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007331/0.2204, allocations: 2.137 MB / 403.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007211/0.2277, allocations: 2.549 MB / 406 MB, free: 264 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003205/0.2309, allocations: 0.5547 MB / 406.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.2349, allocations: 0.6443 MB / 407.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003941/0.2389, allocations: 1.523 MB / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008595/0.2475, allocations: 2.478 MB / 411.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.2631, allocations: 7.423 MB / 418.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.2632, allocations: 0 / 418.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2632, allocations: 0 / 418.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000436/0.2636, allocations: 0 / 418.7 MB, free: 3.598 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.02232/0.286, allocations: 4.687 MB / 423.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.29e-05/0.2861, allocations: 15.89 kB / 423.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/0.29, allocations: 0.4994 MB / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008861/0.2989, allocations: 2.4 MB / 426.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.2993, allocations: 267 kB / 426.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.3011, allocations: 355.9 kB / 426.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.3212, allocations: 5.028 MB / 431.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002811/0.3216, allocations: 0 / 431.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/0.3233, allocations: 148 kB / 432 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003234/0.3236, allocations: 183 kB / 432.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.3374, allocations: 4.291 MB / 436.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0395/0.377, allocations: 14.73 MB / 451.2 MB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3891/0.7661, allocations: 4.188 MB / 455.4 MB, free: 65.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005968/0.7722, allocations: 1.99 MB / 457.4 MB, free: 65.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.7726, allocations: 132.5 kB / 457.5 MB, free: 65.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.7726, allocations: 59.83 kB / 457.6 MB, free: 65.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.408e-06/0.7726, allocations: 1.219 kB / 457.6 MB, free: 65.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02899/0.8016, allocations: 10.01 MB / 467.6 MB, free: 61.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.8018, allocations: 75.66 kB / 467.7 MB, free: 61.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006978/0.8088, allocations: 2.509 MB / 470.2 MB, free: 60.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008196/0.8096, allocations: 65.58 kB / 470.3 MB, free: 60.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.8111, allocations: 1.616 MB / 471.9 MB, free: 59.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.8124, allocations: 0.7345 MB / 472.6 MB, free: 58.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007366/0.8131, allocations: 414.7 kB / 473 MB, free: 58.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.8132, allocations: 305.1 kB / 473.3 MB, free: 58.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.8151, allocations: 1.299 MB / 474.6 MB, free: 57.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.8179, allocations: 1.785 MB / 476.4 MB, free: 56.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/0.8231, allocations: 3.215 MB / 479.6 MB, free: 54.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.8232, allocations: 3.688 kB / 479.6 MB, free: 54.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007407/0.8306, allocations: 4.077 MB / 483.7 MB, free: 52.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.8307, allocations: 10.59 kB / 483.7 MB, free: 52.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.8307, allocations: 20 kB / 483.7 MB, free: 52.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.8332, allocations: 0.821 MB / 484.5 MB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.8355, allocations: 0.5227 MB / 485.1 MB, free: 50.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009017/0.8446, allocations: 9.478 MB / 494.5 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.8477, allocations: 116.9 kB / 494.7 MB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/0.8481, allocations: 84 kB / 494.7 MB, free: 40.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002916/0.851, allocations: 1.215 MB / 496 MB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.8521, allocations: 276.7 kB / 496.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/0.858, allocations: 3.717 MB / 499.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.8581, allocations: 24.52 kB / 500 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.8581, allocations: 8.562 kB / 500 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.8581, allocations: 7.969 kB / 500 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.8729, allocations: 8.031 MB / 0.4961 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.873, allocations: 4 kB / 0.4961 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.8745, allocations: 379.7 kB / 0.4965 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.8771, allocations: 0.8787 MB / 0.4973 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.8774, allocations: 63.62 kB / 0.4974 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.8877, allocations: 11.05 MB / 0.5082 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8877, allocations: 7.969 kB / 0.5082 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/0.8964, allocations: 5.51 MB / 0.5136 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/0.899, allocations: 0.6304 MB / 0.5142 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/0.9004, allocations: 51.98 kB / 0.5142 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/0.9029, allocations: 119.9 kB / 0.5143 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006119/0.9035, allocations: 173.7 kB / 0.5145 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.9037, allocations: 62.7 kB / 0.5146 GB, free: 7.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003414/0.9072, allocations: 1.73 MB / 0.5163 GB, free: 5.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9072, allocations: 4 kB / 0.5163 GB, free: 5.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005816/0.913, allocations: 0.7994 MB / 0.517 GB, free: 5.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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%), (3,25,88.9%), (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.001153/0.9142, allocations: 246.2 kB / 0.5173 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006196/0.9204, allocations: 3.888 MB / 0.5211 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.9205, allocations: 8.062 kB / 0.5211 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004625/0.9251, allocations: 2.476 MB / 0.5235 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/0.93, allocations: 0.7828 MB / 0.5243 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.9513, allocations: 7.715 MB / 0.5318 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/0.9557, allocations: 2.776 MB / 0.5345 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002965/0.9587, allocations: 0.6788 MB / 0.5352 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/0.9595, allocations: 179.4 kB / 0.5353 GB, free: 2.168 MB / 398.1 MB Notification: Performance of SimCode: time 3.677e-06/0.9595, allocations: 0 / 0.5353 GB, free: 2.168 MB / 398.1 MB Notification: Performance of Templates: time 0.09699/1.056, allocations: 44.61 MB / 0.5789 GB, free: 5.547 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)