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.00116/0.00116, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0013/0.001301, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004821/0.0004822, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3696, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01496/0.3847, allocations: 11.35 MB / 337.8 MB, free: 8.125 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3954, allocations: 4.022 MB / 341.9 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.3991, allocations: 63.62 kB / 341.9 MB, free: 4.031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.4029, allocations: 0.7689 MB / 342.7 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006549/0.4095, allocations: 1.029 MB / 343.7 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.412, allocations: 323.6 kB / 344 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009069/0.4211, allocations: 4.828 MB / 348.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006652/0.4278, allocations: 2.518 MB / 351.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005808/0.4336, allocations: 1.568 MB / 352.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005974/0.4397, allocations: 2.105 MB / 355 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00194/0.4416, allocations: 244 kB / 355.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.4446, allocations: 311.9 kB / 355.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002669/0.4473, allocations: 1.145 MB / 356.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003569/0.4509, allocations: 0.8433 MB / 357.6 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.4633, allocations: 5.991 MB / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4634, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4634, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0005697/0.464, allocations: 0 / 363.6 MB, free: 14.25 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.01534/0.4794, allocations: 3.997 MB / 367.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4794, allocations: 12.02 kB / 367.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.483, allocations: 0.4908 MB / 368.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008532/0.4915, allocations: 2.303 MB / 370.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005255/0.4921, allocations: 267 kB / 370.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.4942, allocations: 351.9 kB / 371 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.5114, allocations: 5.013 MB / 376 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.5116, allocations: 7.906 kB / 376 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006244/0.5122, allocations: 147.9 kB / 376.1 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004156/0.5127, allocations: 179.1 kB / 376.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.5237, allocations: 4.291 MB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.5562, allocations: 14.99 MB / 395.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/0.5621, allocations: 4.204 MB / 399.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/0.5661, allocations: 2.006 MB / 401.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.5665, allocations: 127.1 kB / 401.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.228e-05/0.5666, allocations: 60.56 kB / 402 MB, free: 6.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.428e-06/0.5666, allocations: 3.938 kB / 402 MB, free: 6.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02392/0.5905, allocations: 10.1 MB / 412.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.5906, allocations: 77.36 kB / 412.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/0.5954, allocations: 2.49 MB / 414.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/0.5959, allocations: 61.7 kB / 414.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.5975, allocations: 1.619 MB / 416.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.5987, allocations: 0.7355 MB / 417.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.5989, allocations: 48 kB / 417.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.5991, allocations: 394.6 kB / 417.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.6014, allocations: 1.312 MB / 418.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.6042, allocations: 1.782 MB / 420.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.607, allocations: 1.56 MB / 422.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.607, allocations: 4 kB / 422.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008282/0.6153, allocations: 4.079 MB / 426.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.6154, allocations: 12 kB / 426.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.6154, allocations: 12 kB / 426.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.6185, allocations: 0.8831 MB / 427.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.6211, allocations: 0.5266 MB / 427.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.6327, allocations: 8.735 MB / 436.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.636, allocations: 123.9 kB / 436.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/0.6364, allocations: 83.98 kB / 436.6 MB, free: 3.539 MB / 366.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 (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 initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003794/0.6402, allocations: 1.219 MB / 437.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/0.6414, allocations: 268.7 kB / 438.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007808/0.6492, allocations: 3.738 MB / 441.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.6493, allocations: 20.09 kB / 441.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.6493, allocations: 8 kB / 441.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.6493, allocations: 15.94 kB / 441.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/0.6693, allocations: 8.103 MB / 450 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.6694, allocations: 0 / 450 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.6712, allocations: 395.6 kB / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.6746, allocations: 0.9216 MB / 451.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/0.675, allocations: 59.97 kB / 451.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3608/1.036, allocations: 10.17 MB / 461.5 MB, free: 105.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/1.036, allocations: 6.062 kB / 461.5 MB, free: 105.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/1.056, allocations: 5.541 MB / 467.1 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003632/1.06, allocations: 0.6398 MB / 467.7 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/1.062, allocations: 46.62 kB / 467.7 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/1.066, allocations: 127.3 kB / 467.9 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009553/1.067, allocations: 182.8 kB / 468.1 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/1.067, allocations: 62.5 kB / 468.1 MB, free: 102.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.006004/1.073, allocations: 1.713 MB / 469.8 MB, free: 102.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/1.073, allocations: 0 / 469.8 MB, free: 102.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006595/1.08, allocations: 0.7937 MB / 470.6 MB, free: 102 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/1.081, allocations: 203.5 kB / 470.8 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008893/1.09, allocations: 3.898 MB / 474.7 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.09, allocations: 0 / 474.7 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00451/1.094, allocations: 2.495 MB / 477.2 MB, free: 98.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.101, allocations: 0.7583 MB / 478 MB, free: 97.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.119, allocations: 9.117 MB / 487.1 MB, free: 88.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.123, allocations: 2.772 MB / 489.9 MB, free: 85.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003702/1.127, allocations: 0.6749 MB / 490.5 MB, free: 84.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.128, allocations: 175.4 kB / 490.7 MB, free: 84.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/1.128, allocations: 0 / 490.7 MB, free: 84.66 MB / 382.1 MB Notification: Performance of Templates: time 0.08064/1.209, allocations: 42.72 MB / 0.5209 GB, free: 41.9 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)