Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001122/0.001122, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 47.92 kB / 352 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2363, allocations: 49.43 MB / 401.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01289/0.2493, allocations: 12.86 MB / 414.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007443/0.2567, allocations: 4.183 MB / 418.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.2587, allocations: 79.69 kB / 418.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.2614, allocations: 1.002 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.2651, allocations: 1.231 MB / 420.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.2666, allocations: 0.5188 MB / 421.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00516/0.2718, allocations: 4.626 MB / 425.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004528/0.2764, allocations: 3.694 MB / 429.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.2797, allocations: 2.15 MB / 431.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004096/0.2838, allocations: 2.565 MB / 434.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.2853, allocations: 0.5508 MB / 434.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.2872, allocations: 0.6404 MB / 435.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002201/0.2894, allocations: 1.516 MB / 437 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003947/0.2934, allocations: 2.485 MB / 439.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007831/0.3013, allocations: 7.419 MB / 446.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3013, allocations: 0 / 446.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3013, allocations: 0 / 446.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001923/0.3015, allocations: 0 / 446.9 MB, free: 11.11 MB / 366.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.01054/0.312, allocations: 4.695 MB / 451.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.3121, allocations: 8.031 kB / 451.7 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.3138, allocations: 0.4995 MB / 452.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.3189, allocations: 2.56 MB / 454.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.3191, allocations: 275 kB / 455 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005676/0.3197, allocations: 351.9 kB / 455.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008185/0.3279, allocations: 5.029 MB / 460.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.301e-05/0.328, allocations: 7.906 kB / 460.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/0.3284, allocations: 148 kB / 460.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.3285, allocations: 179.1 kB / 460.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006902/0.3354, allocations: 4.298 MB / 465 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/0.3571, allocations: 14.72 MB / 479.7 MB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.3611, allocations: 4.187 MB / 483.9 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.3642, allocations: 1.995 MB / 485.9 MB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.3644, allocations: 131.1 kB / 486 MB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3645, allocations: 52.56 kB / 486.1 MB, free: 3.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.967e-06/0.3645, allocations: 3.938 kB / 486.1 MB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.01852/0.383, allocations: 9.956 MB / 496 MB, free: 9.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3831, allocations: 77.41 kB / 496.1 MB, free: 8.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/0.3865, allocations: 2.506 MB / 498.6 MB, free: 6.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.3867, allocations: 61.7 kB / 498.7 MB, free: 6.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.3877, allocations: 1.615 MB / 0.4885 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.3883, allocations: 0.7355 MB / 0.4893 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006603/0.3889, allocations: 420.3 kB / 0.4897 GB, free: 3.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.389, allocations: 309.1 kB / 0.49 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.391, allocations: 1.293 MB / 0.4912 GB, free: 1.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.3933, allocations: 1.782 MB / 0.493 GB, free: 20 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.3978, allocations: 3.211 MB / 0.4961 GB, free: 12.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.3978, allocations: 8 kB / 0.4961 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006936/0.4047, allocations: 4.075 MB / 0.5001 GB, free: 8.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4048, allocations: 8.469 kB / 0.5001 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.4048, allocations: 16 kB / 0.5001 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/0.4076, allocations: 0.8795 MB / 0.501 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.4098, allocations: 0.5227 MB / 0.5015 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.4204, allocations: 9.478 MB / 0.5107 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.4226, allocations: 115.9 kB / 0.5108 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.4229, allocations: 84 kB / 0.5109 GB, free: 12.99 MB / 446.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.002248/0.4252, allocations: 1.216 MB / 0.5121 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007453/0.4259, allocations: 280.7 kB / 0.5124 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006922/0.4329, allocations: 3.715 MB / 0.516 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.4329, allocations: 11.95 kB / 0.516 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4329, allocations: 0 / 0.516 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.4346, allocations: 0.6343 MB / 0.5166 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006571/0.4353, allocations: 51.92 kB / 0.5167 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.4369, allocations: 119.9 kB / 0.5168 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/0.4374, allocations: 185.7 kB / 0.517 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008051/0.4454, allocations: 3.945 MB / 0.5208 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007652/0.4531, allocations: 5.042 MB / 0.5258 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002166/0.4553, allocations: 1.464 MB / 0.5272 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003483/0.4588, allocations: 1.734 MB / 0.5289 GB, free: 10.48 MB / 462.1 MB Notification: Performance of Backend: time 5.21e-07/0.4588, allocations: 0 / 0.5289 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006821/0.4657, allocations: 2.902 MB / 0.5317 GB, free: 7.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.2032/0.6689, allocations: 7.823 MB / 0.5394 GB, free: 130.4 MB / 462.1 MB Notification: Performance of Templates: time 0.06489/0.7339, allocations: 47.74 MB / 0.586 GB, free: 93.68 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1)