Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.001379/0.001379, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2251, allocations: 49.42 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0172/0.2423, allocations: 16.82 MB / 418.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.2529, allocations: 5.677 MB / 423.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.2557, allocations: 111.6 kB / 424 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.2593, allocations: 1.382 MB / 425.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.2645, allocations: 1.845 MB / 427.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.267, allocations: 1.029 MB / 428.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006833/0.2739, allocations: 6.291 MB / 434.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006838/0.2807, allocations: 5.387 MB / 440 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004676/0.2854, allocations: 2.968 MB / 442.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.2903, allocations: 3.339 MB / 446.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.2921, allocations: 0.7891 MB / 447.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.295, allocations: 1.062 MB / 448.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.2972, allocations: 1.862 MB / 450 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004836/0.3021, allocations: 3.345 MB / 453.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3124, allocations: 10.52 MB / 463.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3124, allocations: 0 / 463.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3124, allocations: 0 / 463.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002009/0.3126, allocations: 0 / 463.9 MB, free: 10.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01645/0.3291, allocations: 6.518 MB / 470.4 MB, free: 3.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3292, allocations: 8.031 kB / 470.4 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.3343, allocations: 1.056 MB / 471.4 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006506/0.3408, allocations: 3.649 MB / 475.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.341, allocations: 365.7 kB / 475.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007144/0.3418, allocations: 483.8 kB / 475.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.3527, allocations: 6.877 MB / 482.8 MB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.623e-05/0.3528, allocations: 11.83 kB / 482.8 MB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.3533, allocations: 196 kB / 483 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.3535, allocations: 237.8 kB / 483.2 MB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009189/0.3627, allocations: 5.937 MB / 489.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.3917, allocations: 20.65 MB / 0.4979 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008956/0.4007, allocations: 9.957 MB / 0.5076 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003607/0.4043, allocations: 2.47 MB / 0.51 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.4152, allocations: 6.486 MB / 0.5163 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.4152, allocations: 60.5 kB / 0.5164 GB, free: 7.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 3.437e-06/0.4153, allocations: 0 / 0.5164 GB, free: 7.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.01721/0.4325, allocations: 9.675 MB / 0.5258 GB, free: 13.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4325, allocations: 77.41 kB / 0.5259 GB, free: 13.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/0.4367, allocations: 2.984 MB / 0.5288 GB, free: 10.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/0.437, allocations: 61.7 kB / 0.5289 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.4384, allocations: 2.164 MB / 0.531 GB, free: 8.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/0.439, allocations: 0.7625 MB / 0.5318 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007119/0.4397, allocations: 457.1 kB / 0.5322 GB, free: 6.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.4398, allocations: 309.1 kB / 0.5325 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.4417, allocations: 1.293 MB / 0.5337 GB, free: 5.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.4441, allocations: 1.912 MB / 0.5356 GB, free: 3.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1805/0.6246, allocations: 3.336 MB / 0.5389 GB, free: 126.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.6247, allocations: 9.438 kB / 0.5389 GB, free: 126.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006982/0.6317, allocations: 4.247 MB / 0.543 GB, free: 125.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6317, allocations: 15.56 kB / 0.543 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.6317, allocations: 15.78 kB / 0.5431 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/0.634, allocations: 0.7677 MB / 0.5438 GB, free: 125.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.6361, allocations: 0.5634 MB / 0.5444 GB, free: 125.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008173/0.6443, allocations: 10.89 MB / 0.555 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.6463, allocations: 100.5 kB / 0.5551 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.6464, allocations: 102 kB / 0.5552 GB, free: 116.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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 {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.6486, allocations: 1.615 MB / 0.5568 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.6491, allocations: 313.6 kB / 0.5571 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/0.6547, allocations: 3.901 MB / 0.5609 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.6547, allocations: 11.77 kB / 0.5609 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6547, allocations: 1.969 kB / 0.5609 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.6563, allocations: 0.6823 MB / 0.5616 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/0.6567, allocations: 51.5 kB / 0.5616 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.6581, allocations: 104.7 kB / 0.5617 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.6585, allocations: 212.5 kB / 0.5619 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00667/0.6651, allocations: 3.938 MB / 0.5657 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005345/0.6705, allocations: 4.834 MB / 0.5705 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001449/0.672, allocations: 1.413 MB / 0.5718 GB, free: 105.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002337/0.6743, allocations: 2.062 MB / 0.5739 GB, free: 103.8 MB / 462.1 MB Notification: Performance of Backend: time 3e-07/0.6743, allocations: 0 / 0.5739 GB, free: 103.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.6791, allocations: 3.055 MB / 0.5768 GB, free: 100.8 MB / 462.1 MB Notification: Performance of SimCode: time 0.01137/0.6904, allocations: 9.842 MB / 0.5865 GB, free: 90.91 MB / 462.1 MB Notification: Performance of Templates: time 0.07071/0.7612, allocations: 54.93 MB / 0.6401 GB, free: 36.61 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)