Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001596/0.001596, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001867/0.001867, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.893/1.893, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001293/0.001293, allocations: 55.92 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 46.62 MB / 326.6 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01468/0.1436, allocations: 12.81 MB / 339.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.1542, allocations: 4.246 MB / 343.7 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.1574, allocations: 67.69 kB / 343.7 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.1605, allocations: 0.9587 MB / 344.7 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.1655, allocations: 1.176 MB / 345.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1672, allocations: 0.5266 MB / 346.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006878/0.174, allocations: 4.665 MB / 351.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004678/0.1788, allocations: 3.602 MB / 354.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004861/0.1836, allocations: 2.121 MB / 356.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00478/0.1884, allocations: 2.561 MB / 359.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.1897, allocations: 0.5508 MB / 359.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.1916, allocations: 0.6405 MB / 360.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.1932, allocations: 1.519 MB / 362.1 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.1969, allocations: 2.489 MB / 364.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.2071, allocations: 7.349 MB / 371.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2071, allocations: 0 / 371.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2071, allocations: 0 / 371.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001976/0.2073, allocations: 0 / 371.9 MB, free: 6.938 MB / 318.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.01142/0.2187, allocations: 4.679 MB / 376.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2188, allocations: 11.89 kB / 376.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.2202, allocations: 0.4995 MB / 377.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2866/0.5068, allocations: 2.374 MB / 379.5 MB, free: 48.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.5073, allocations: 266.6 kB / 379.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.5092, allocations: 350.4 kB / 380.1 MB, free: 48.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.5291, allocations: 5.027 MB / 385.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/0.5295, allocations: 11.98 kB / 385.1 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/0.5312, allocations: 142.5 kB / 385.3 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005112/0.5317, allocations: 184.1 kB / 385.4 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.5482, allocations: 4.289 MB / 389.7 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.594, allocations: 14.92 MB / 404.6 MB, free: 35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005793/0.5998, allocations: 4.189 MB / 408.8 MB, free: 30.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.6033, allocations: 1.994 MB / 410.8 MB, free: 28.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/0.6037, allocations: 127.1 kB / 410.9 MB, free: 28.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.6038, allocations: 64.5 kB / 411 MB, free: 28.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 5.009e-06/0.6038, allocations: 0 / 411 MB, free: 28.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02275/0.6265, allocations: 10.02 MB / 421 MB, free: 18.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.6266, allocations: 77.39 kB / 421.1 MB, free: 18.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/0.6322, allocations: 2.499 MB / 423.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004512/0.6327, allocations: 65.7 kB / 423.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.634, allocations: 1.621 MB / 425.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008567/0.6349, allocations: 0.7311 MB / 426 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.636, allocations: 416.3 kB / 426.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.636, allocations: 305.1 kB / 426.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.6382, allocations: 1.301 MB / 428 MB, free: 11.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.6406, allocations: 1.786 MB / 429.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.6453, allocations: 3.217 MB / 433 MB, free: 5.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/0.6454, allocations: 4 kB / 433 MB, free: 5.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008205/0.6536, allocations: 4.074 MB / 437.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.6537, allocations: 13.78 kB / 437.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.6537, allocations: 16 kB / 437.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/0.6565, allocations: 0.8216 MB / 438 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.6591, allocations: 0.5382 MB / 438.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.6722, allocations: 9.476 MB / 448 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/0.676, allocations: 115.9 kB / 448.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008575/0.6769, allocations: 84 kB / 448.2 MB, free: 6.195 MB / 334.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.005301/0.6822, allocations: 1.219 MB / 449.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/0.684, allocations: 272.7 kB / 449.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007735/0.6918, allocations: 3.72 MB / 453.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.6919, allocations: 23.94 kB / 453.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6919, allocations: 8 kB / 453.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.6919, allocations: 15.95 kB / 453.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.7101, allocations: 8.091 MB / 461.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.7102, allocations: 11.28 kB / 461.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.712, allocations: 379.5 kB / 461.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.7149, allocations: 0.8811 MB / 462.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/0.7152, allocations: 51.98 kB / 462.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.7285, allocations: 11.07 MB / 473.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7285, allocations: 4 kB / 473.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009749/0.7383, allocations: 5.514 MB / 479.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/0.7407, allocations: 0.6382 MB / 480 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005344/0.7412, allocations: 51.98 kB / 480.1 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.7427, allocations: 111.9 kB / 480.2 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/0.7432, allocations: 177.8 kB / 480.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.7434, allocations: 59.92 kB / 480.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002948/0.7463, allocations: 1.735 MB / 482.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7464, allocations: 0 / 482.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003431/0.7498, allocations: 0.7994 MB / 483 MB, free: 2.629 MB / 366.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.0006503/0.7505, allocations: 234.8 kB / 483.2 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01145/0.7619, allocations: 5.699 MB / 488.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.762, allocations: 0.8125 kB / 488.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004019/0.766, allocations: 2.482 MB / 491.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/0.7704, allocations: 0.7842 MB / 492.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/0.7875, allocations: 7.8 MB / 500 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003378/0.7909, allocations: 2.773 MB / 0.491 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002851/0.7938, allocations: 0.6827 MB / 0.4916 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.7945, allocations: 179.4 kB / 0.4918 GB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7945, allocations: 0 / 0.4918 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Templates: time 0.3705/1.165, allocations: 46.4 MB / 0.5371 GB, free: 146.1 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)