Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.1 kB / 18.4 MB, free: 4.68 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.001038/0.001038, allocations: 188.2 kB / 19.35 MB, free: 3.75 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.278/1.278, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001348/0.001348, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07392/0.07528, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.1723/0.2476, allocations: 16.76 MB / 392.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.2572, allocations: 5.715 MB / 398.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.2594, allocations: 98.56 kB / 398.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.2629, allocations: 1.381 MB / 399.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.268, allocations: 1.832 MB / 401.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.2707, allocations: 1.064 MB / 402.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007392/0.2781, allocations: 6.32 MB / 409 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007543/0.2857, allocations: 5.285 MB / 414.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00504/0.2907, allocations: 2.96 MB / 417.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005716/0.2964, allocations: 3.338 MB / 420.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002528/0.299, allocations: 0.7852 MB / 421.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.3026, allocations: 1.062 MB / 422.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.3053, allocations: 1.866 MB / 424.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005829/0.3111, allocations: 3.349 MB / 427.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3238, allocations: 10.54 MB / 438.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3238, allocations: 0 / 438.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3238, allocations: 4 kB / 438.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002755/0.3241, allocations: 0 / 438.2 MB, free: 1.172 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01572/0.3399, allocations: 6.652 MB / 444.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3399, allocations: 12.02 kB / 444.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.3448, allocations: 1.086 MB / 445.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005685/0.3505, allocations: 3.434 MB / 449.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.3508, allocations: 369.7 kB / 449.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007438/0.3516, allocations: 483.9 kB / 450.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.3627, allocations: 6.865 MB / 457.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.3628, allocations: 11.89 kB / 457.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004489/0.3633, allocations: 200 kB / 457.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.3635, allocations: 241.8 kB / 457.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009793/0.3733, allocations: 5.922 MB / 463.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.4038, allocations: 20.72 MB / 484.2 MB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008692/0.4125, allocations: 9.959 MB / 494.1 MB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.4162, allocations: 2.474 MB / 496.6 MB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/0.4267, allocations: 6.51 MB / 0.4913 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.4268, allocations: 60.56 kB / 0.4914 GB, free: 14.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=219): time 3.637e-06/0.4268, allocations: 0 / 0.4914 GB, free: 14.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=226): time 0.01722/0.444, allocations: 9.753 MB / 0.5009 GB, free: 4.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4441, allocations: 73.41 kB / 0.501 GB, free: 4.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/0.4483, allocations: 3 MB / 0.5039 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.4486, allocations: 61.7 kB / 0.504 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.45, allocations: 2.209 MB / 0.5061 GB, free: 14.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006419/0.4506, allocations: 0.7979 MB / 0.5069 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000711/0.4513, allocations: 469.2 kB / 0.5073 GB, free: 13.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.4514, allocations: 305.1 kB / 0.5076 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.4534, allocations: 1.289 MB / 0.5089 GB, free: 12.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.4558, allocations: 1.924 MB / 0.5108 GB, free: 9.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.4602, allocations: 3.344 MB / 0.514 GB, free: 6.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4602, allocations: 4 kB / 0.514 GB, free: 6.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006764/0.4669, allocations: 4.266 MB / 0.5182 GB, free: 2.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.467, allocations: 16 kB / 0.5182 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.467, allocations: 16 kB / 0.5182 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.4695, allocations: 0.7705 MB / 0.519 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.4719, allocations: 0.5695 MB / 0.5195 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.4823, allocations: 10.89 MB / 0.5302 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.4846, allocations: 111.9 kB / 0.5303 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4848, allocations: 96 kB / 0.5304 GB, free: 4.992 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.002514/0.4873, allocations: 1.618 MB / 0.532 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/0.488, allocations: 325.9 kB / 0.5323 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006423/0.4944, allocations: 3.921 MB / 0.5361 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.4944, allocations: 11.95 kB / 0.5361 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4945, allocations: 0 / 0.5361 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/0.4959, allocations: 0.6942 MB / 0.5368 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/0.4964, allocations: 51.98 kB / 0.5368 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.4978, allocations: 107.9 kB / 0.5369 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/0.4982, allocations: 205.6 kB / 0.5371 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007657/0.5059, allocations: 3.938 MB / 0.541 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006799/0.5127, allocations: 4.845 MB / 0.5457 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001873/0.5146, allocations: 1.417 MB / 0.5471 GB, free: 3.719 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003031/0.5176, allocations: 2.058 MB / 0.5491 GB, free: 1.66 MB / 478.1 MB Notification: Performance of Backend: time 5.21e-07/0.5176, allocations: 3.938 kB / 0.5491 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1607/0.6783, allocations: 3.061 MB / 0.5521 GB, free: 151.4 MB / 478.1 MB Notification: Performance of SimCode: time 0.01482/0.6932, allocations: 9.991 MB / 0.5619 GB, free: 147.5 MB / 478.1 MB Notification: Performance of Templates: time 0.07439/0.7676, allocations: 54.9 MB / 0.6155 GB, free: 108.1 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1)