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.001469/0.001469, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001547, allocations: 194 kB / 16.53 MB, free: 6.664 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.803/1.803, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001406/0.001406, allocations: 51.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3518, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.0163/0.3681, allocations: 12.8 MB / 338.1 MB, free: 7.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.3798, allocations: 4.258 MB / 342.4 MB, free: 2.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.3837, allocations: 67.69 kB / 342.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.3872, allocations: 0.9626 MB / 343.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.393, allocations: 1.177 MB / 344.6 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3945, allocations: 0.5227 MB / 345.1 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007081/0.4016, allocations: 4.653 MB / 349.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004995/0.4066, allocations: 3.598 MB / 353.4 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00594/0.4126, allocations: 2.116 MB / 355.5 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005161/0.4178, allocations: 2.557 MB / 358 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.4199, allocations: 0.5547 MB / 358.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.423, allocations: 0.6443 MB / 359.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00312/0.4262, allocations: 1.512 MB / 360.7 MB, free: 320 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006597/0.4328, allocations: 2.485 MB / 363.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009775/0.4426, allocations: 7.345 MB / 370.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4427, allocations: 3.938 kB / 370.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.4427, allocations: 4 kB / 370.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.443, allocations: 0 / 370.6 MB, free: 6.441 MB / 302.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.01234/0.4554, allocations: 4.687 MB / 375.3 MB, free: 1.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4554, allocations: 15.89 kB / 375.3 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.457, allocations: 0.4956 MB / 375.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/0.4613, allocations: 2.376 MB / 378.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.4616, allocations: 271 kB / 378.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005858/0.4622, allocations: 351.9 kB / 378.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008977/0.4712, allocations: 5.025 MB / 383.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-05/0.4713, allocations: 7.891 kB / 383.8 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/0.4716, allocations: 152 kB / 383.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.4718, allocations: 179.1 kB / 384.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007723/0.4796, allocations: 4.287 MB / 388.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.5065, allocations: 14.91 MB / 403.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006499/0.513, allocations: 4.203 MB / 407.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.5166, allocations: 1.987 MB / 409.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.5169, allocations: 135.1 kB / 409.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.517, allocations: 53.03 kB / 409.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 6.472e-06/0.517, allocations: 0 / 409.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02225/0.5392, allocations: 10.02 MB / 419.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.5393, allocations: 81.34 kB / 419.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.5433, allocations: 2.513 MB / 422.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.5435, allocations: 65.7 kB / 422.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.5451, allocations: 1.611 MB / 424 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006573/0.5457, allocations: 0.7316 MB / 424.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006932/0.5464, allocations: 420.2 kB / 425.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5466, allocations: 305.1 kB / 425.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.5486, allocations: 1.305 MB / 426.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.551, allocations: 1.779 MB / 428.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/0.5554, allocations: 3.223 MB / 431.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.5555, allocations: 7.938 kB / 431.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006945/0.5624, allocations: 4.063 MB / 435.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.5625, allocations: 12 kB / 435.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.5625, allocations: 12 kB / 435.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.5649, allocations: 0.8285 MB / 436.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.5669, allocations: 0.5305 MB / 437.2 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.5781, allocations: 9.483 MB / 446.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.5813, allocations: 119.8 kB / 446.8 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/0.5816, allocations: 87.98 kB / 446.9 MB, free: 8.277 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.003272/0.5849, allocations: 1.219 MB / 448.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.586, allocations: 272.8 kB / 448.3 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006976/0.593, allocations: 3.719 MB / 452.1 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.5931, allocations: 20 kB / 452.1 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.5931, allocations: 8 kB / 452.1 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.091e-05/0.5931, allocations: 15.89 kB / 452.1 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3102/0.9034, allocations: 8.077 MB / 460.2 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.9034, allocations: 2.406 kB / 460.2 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.9053, allocations: 385 kB / 460.6 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.908, allocations: 0.879 MB / 461.4 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.9081, allocations: 55.09 kB / 461.5 MB, free: 108.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.9185, allocations: 11.06 MB / 472.6 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9186, allocations: 3.969 kB / 472.6 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008364/0.9269, allocations: 5.52 MB / 478.1 MB, free: 97.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.929, allocations: 0.6277 MB / 478.7 MB, free: 97.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/0.9294, allocations: 51.98 kB / 478.8 MB, free: 97.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9308, allocations: 117.9 kB / 478.9 MB, free: 96.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/0.9313, allocations: 185.3 kB / 479.1 MB, free: 96.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.9314, allocations: 59.98 kB / 479.1 MB, free: 96.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002598/0.934, allocations: 1.727 MB / 480.8 MB, free: 94.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.934, allocations: 0 / 480.8 MB, free: 94.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002875/0.9369, allocations: 0.7996 MB / 481.6 MB, free: 94.12 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.0007205/0.9377, allocations: 231.5 kB / 481.9 MB, free: 93.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009201/0.9469, allocations: 5.708 MB / 487.6 MB, free: 88.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.9469, allocations: 0 / 487.6 MB, free: 88.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003174/0.9501, allocations: 2.48 MB / 490.1 MB, free: 85.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/0.954, allocations: 0.79 MB / 490.8 MB, free: 84.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.967, allocations: 7.797 MB / 498.6 MB, free: 77.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.9692, allocations: 2.773 MB / 0.4897 GB, free: 74.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002307/0.9716, allocations: 0.6905 MB / 0.4903 GB, free: 73.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.9721, allocations: 179.4 kB / 0.4905 GB, free: 73.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.9721, allocations: 0 / 0.4905 GB, free: 73.41 MB / 382.1 MB Notification: Performance of Templates: time 0.07551/1.048, allocations: 46.41 MB / 0.5358 GB, free: 26.96 MB / 382.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)