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.00856/0.00856, allocations: 100.5 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.00126/0.00126, allocations: 190 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.984/1.984, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001143/0.001143, allocations: 46.66 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1443, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01771/0.1621, allocations: 12.81 MB / 386 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1746, allocations: 4.242 MB / 390.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004325/0.179, allocations: 71.62 kB / 390.3 MB, free: 116 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004917/0.184, allocations: 1.009 MB / 391.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006702/0.1907, allocations: 1.231 MB / 392.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1931, allocations: 0.5228 MB / 393.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008703/0.2019, allocations: 4.684 MB / 397.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0061/0.208, allocations: 3.598 MB / 401.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007133/0.2152, allocations: 2.126 MB / 403.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007335/0.2226, allocations: 2.553 MB / 406 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003074/0.2257, allocations: 0.5508 MB / 406.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.23, allocations: 0.656 MB / 407.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004127/0.2342, allocations: 1.516 MB / 408.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0091/0.2433, allocations: 2.481 MB / 411.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01742/0.2608, allocations: 7.423 MB / 418.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.2609, allocations: 0 / 418.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.2609, allocations: 4 kB / 418.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005956/0.2615, allocations: 0 / 418.7 MB, free: 3.602 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.2839, allocations: 4.691 MB / 423.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.284, allocations: 11.89 kB / 423.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.2861, allocations: 0.4956 MB / 423.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/0.2924, allocations: 2.4 MB / 426.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.2927, allocations: 267 kB / 426.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009385/0.2936, allocations: 355.9 kB / 426.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.3074, allocations: 5.028 MB / 431.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.3076, allocations: 4 kB / 431.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005258/0.3082, allocations: 144 kB / 432 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002763/0.3085, allocations: 183.1 kB / 432.2 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.3204, allocations: 4.291 MB / 436.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.3654, allocations: 14.73 MB / 451.2 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4161/0.7816, allocations: 4.188 MB / 455.4 MB, free: 65.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006115/0.7878, allocations: 1.99 MB / 457.4 MB, free: 65.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.7883, allocations: 137.6 kB / 457.5 MB, free: 65.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/0.7884, allocations: 56.22 kB / 457.6 MB, free: 65.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 7.184e-06/0.7884, allocations: 7.797 kB / 457.6 MB, free: 65.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02841/0.8168, allocations: 10.01 MB / 467.6 MB, free: 61.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.8169, allocations: 78.55 kB / 467.7 MB, free: 61.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/0.8227, allocations: 2.503 MB / 470.2 MB, free: 60.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000635/0.8233, allocations: 65.58 kB / 470.3 MB, free: 60.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.8247, allocations: 1.619 MB / 471.9 MB, free: 59.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.8257, allocations: 0.7325 MB / 472.6 MB, free: 58.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007571/0.8265, allocations: 418.8 kB / 473 MB, free: 58.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.8266, allocations: 305.1 kB / 473.3 MB, free: 58.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.8287, allocations: 1.301 MB / 474.6 MB, free: 57.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.8308, allocations: 1.782 MB / 476.4 MB, free: 56.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.8358, allocations: 3.214 MB / 479.6 MB, free: 54.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.8358, allocations: 3.625 kB / 479.6 MB, free: 54.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006928/0.8427, allocations: 4.075 MB / 483.7 MB, free: 52.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.8428, allocations: 8 kB / 483.7 MB, free: 52.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.8429, allocations: 16 kB / 483.7 MB, free: 52.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.8452, allocations: 0.8215 MB / 484.5 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.8473, allocations: 0.5317 MB / 485.1 MB, free: 50.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.8583, allocations: 9.479 MB / 494.6 MB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/0.8618, allocations: 111.9 kB / 494.7 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/0.8622, allocations: 89.62 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.002767/0.8649, allocations: 1.219 MB / 496 MB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009802/0.8659, allocations: 268.7 kB / 496.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/0.8719, allocations: 3.721 MB / 499.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.8719, allocations: 20 kB / 500 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.872, allocations: 8 kB / 500 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.872, allocations: 11.95 kB / 500 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.8869, allocations: 8.017 MB / 0.4961 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.887, allocations: 4 kB / 0.4961 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.8885, allocations: 387.8 kB / 0.4965 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/0.8912, allocations: 0.8733 MB / 0.4973 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.8914, allocations: 61.45 kB / 0.4974 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.9041, allocations: 11.06 MB / 0.5082 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.9042, allocations: 4.031 kB / 0.5082 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/0.9141, allocations: 5.51 MB / 0.5136 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/0.917, allocations: 0.6343 MB / 0.5142 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008691/0.9179, allocations: 48 kB / 0.5142 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.9196, allocations: 119.9 kB / 0.5143 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005717/0.9202, allocations: 181.7 kB / 0.5145 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.9204, allocations: 62.61 kB / 0.5146 GB, free: 7.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003254/0.9237, allocations: 1.727 MB / 0.5163 GB, free: 5.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9237, allocations: 0 / 0.5163 GB, free: 5.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00495/0.9286, allocations: 0.7996 MB / 0.517 GB, free: 5.129 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.001014/0.9297, allocations: 242.9 kB / 0.5173 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00688/0.9366, allocations: 3.895 MB / 0.5211 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/0.9366, allocations: 4 kB / 0.5211 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004327/0.941, allocations: 2.477 MB / 0.5235 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006907/0.9479, allocations: 0.7846 MB / 0.5243 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/0.969, allocations: 7.707 MB / 0.5318 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00401/0.973, allocations: 2.772 MB / 0.5345 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002934/0.976, allocations: 0.6788 MB / 0.5352 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/0.9767, allocations: 183.4 kB / 0.5353 GB, free: 2.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.004e-06/0.9767, allocations: 0 / 0.5353 GB, free: 2.184 MB / 398.1 MB Notification: Performance of Templates: time 0.08967/1.066, allocations: 44.61 MB / 0.5789 GB, free: 5.562 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)