Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 102.5 kB / 17.74 MB, free: 5.309 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.001098/0.001098, allocations: 197.2 kB / 18.67 MB, free: 4.383 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009996/0.0009996, allocations: 47.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.233, allocations: 49.43 MB / 401.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01336/0.2464, allocations: 12.89 MB / 414.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007642/0.254, allocations: 4.175 MB / 418.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.2561, allocations: 79.69 kB / 418.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.2588, allocations: 1.006 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.2626, allocations: 1.235 MB / 420.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.2641, allocations: 0.511 MB / 421.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005213/0.2693, allocations: 4.622 MB / 426 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004859/0.2742, allocations: 3.706 MB / 429.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.2776, allocations: 2.138 MB / 431.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.2814, allocations: 2.557 MB / 434.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.2827, allocations: 0.5547 MB / 434.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.2846, allocations: 0.6404 MB / 435.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.2867, allocations: 1.519 MB / 437.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004068/0.2908, allocations: 2.481 MB / 439.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.2982, allocations: 7.419 MB / 447 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2982, allocations: 0 / 447 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2982, allocations: 0 / 447 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.44e-05/0.2983, allocations: 0 / 447 MB, free: 11.12 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.008391/0.3067, allocations: 4.695 MB / 451.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3067, allocations: 12.03 kB / 451.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.3079, allocations: 0.4917 MB / 452.2 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.3122, allocations: 2.575 MB / 454.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3124, allocations: 263 kB / 455 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.313, allocations: 355.9 kB / 455.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/0.3209, allocations: 5.021 MB / 460.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/0.321, allocations: 11.84 kB / 460.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.3214, allocations: 144 kB / 460.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.3216, allocations: 187 kB / 460.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.3285, allocations: 4.294 MB / 465 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0218/0.3503, allocations: 14.72 MB / 479.7 MB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.3545, allocations: 4.194 MB / 483.9 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.3576, allocations: 1.987 MB / 485.9 MB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.3579, allocations: 131.1 kB / 486.1 MB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3579, allocations: 56.55 kB / 486.1 MB, free: 3.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 5.15e-06/0.3579, allocations: 4 kB / 486.1 MB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.01886/0.3768, allocations: 9.956 MB / 496.1 MB, free: 9.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3768, allocations: 77.41 kB / 496.1 MB, free: 8.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.3805, allocations: 2.506 MB / 498.6 MB, free: 6.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.3807, allocations: 61.7 kB / 498.7 MB, free: 6.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.3818, allocations: 1.619 MB / 0.4886 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005986/0.3824, allocations: 0.7316 MB / 0.4893 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000695/0.3831, allocations: 424.2 kB / 0.4897 GB, free: 3.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.3832, allocations: 305.1 kB / 0.49 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.3853, allocations: 1.297 MB / 0.4913 GB, free: 1.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.3877, allocations: 1.778 MB / 0.493 GB, free: 28 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/0.3921, allocations: 3.212 MB / 0.4962 GB, free: 12.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3921, allocations: 4 kB / 0.4962 GB, free: 12.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006593/0.3987, allocations: 4.068 MB / 0.5001 GB, free: 8.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3987, allocations: 15.98 kB / 0.5001 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.3988, allocations: 12 kB / 0.5002 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/0.4015, allocations: 0.8756 MB / 0.501 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.4035, allocations: 0.5266 MB / 0.5015 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.4141, allocations: 9.478 MB / 0.5108 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.416, allocations: 123.9 kB / 0.5109 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.4163, allocations: 84 kB / 0.511 GB, free: 13 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.002313/0.4186, allocations: 1.212 MB / 0.5122 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/0.4192, allocations: 280.6 kB / 0.5124 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/0.4261, allocations: 3.711 MB / 0.5161 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.4261, allocations: 7.969 kB / 0.5161 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4261, allocations: 4 kB / 0.5161 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.4279, allocations: 0.6382 MB / 0.5167 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006827/0.4286, allocations: 51.92 kB / 0.5167 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.4302, allocations: 115.9 kB / 0.5168 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/0.4307, allocations: 185.7 kB / 0.517 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008409/0.4391, allocations: 3.945 MB / 0.5209 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007754/0.4469, allocations: 5.038 MB / 0.5258 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002027/0.4489, allocations: 1.475 MB / 0.5272 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003186/0.4521, allocations: 1.73 MB / 0.5289 GB, free: 10.49 MB / 462.1 MB Notification: Performance of Backend: time 4.61e-07/0.4521, allocations: 0 / 0.5289 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006236/0.4584, allocations: 2.911 MB / 0.5318 GB, free: 7.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.186/0.6444, allocations: 7.823 MB / 0.5394 GB, free: 130.4 MB / 462.1 MB Notification: Performance of Templates: time 0.06169/0.7061, allocations: 47.73 MB / 0.586 GB, free: 93.59 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1)