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.001079/0.001079, allocations: 103.2 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.001034/0.001034, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.252/1.252, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.00123/0.00123, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07424/0.07547, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.162/0.2375, allocations: 16.76 MB / 392.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008825/0.2463, allocations: 5.718 MB / 398.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.2482, allocations: 96.78 kB / 398.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.2509, allocations: 1.326 MB / 399.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.2549, allocations: 1.777 MB / 401.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.2571, allocations: 1.055 MB / 402.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006662/0.2638, allocations: 6.319 MB / 408.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005659/0.2695, allocations: 5.287 MB / 414.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.2742, allocations: 2.939 MB / 417.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.2786, allocations: 3.332 MB / 420.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.2796, allocations: 0.7891 MB / 421.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.2817, allocations: 1.07 MB / 422.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.2832, allocations: 1.858 MB / 424.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003355/0.2866, allocations: 3.345 MB / 427.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008678/0.2952, allocations: 10.51 MB / 438 MB, free: 1.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2953, allocations: 4 kB / 438 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2953, allocations: 0 / 438 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.2954, allocations: 0 / 438 MB, free: 1.379 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.01303/0.3084, allocations: 6.507 MB / 444.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3085, allocations: 16.03 kB / 444.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/0.3133, allocations: 1.052 MB / 445.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005273/0.3186, allocations: 3.416 MB / 449 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.3189, allocations: 373.7 kB / 449.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006664/0.3195, allocations: 479.9 kB / 449.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.3302, allocations: 6.869 MB / 456.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/0.3303, allocations: 7.938 kB / 456.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004572/0.3308, allocations: 200 kB / 456.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.331, allocations: 237.8 kB / 457.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009444/0.3405, allocations: 5.922 MB / 463.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/0.3697, allocations: 20.66 MB / 483.7 MB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009286/0.3791, allocations: 9.975 MB / 493.7 MB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/0.3827, allocations: 2.474 MB / 496.2 MB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.3935, allocations: 6.482 MB / 0.4909 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.3936, allocations: 64.55 kB / 0.491 GB, free: 14.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=219): time 4.789e-06/0.3936, allocations: 0 / 0.491 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=226): time 0.0172/0.4108, allocations: 9.686 MB / 0.5004 GB, free: 4.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.4109, allocations: 73.41 kB / 0.5005 GB, free: 4.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.4147, allocations: 2.988 MB / 0.5034 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.4149, allocations: 61.7 kB / 0.5035 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.4163, allocations: 2.164 MB / 0.5056 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005925/0.4169, allocations: 0.7625 MB / 0.5063 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007208/0.4176, allocations: 465 kB / 0.5068 GB, free: 14.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.4177, allocations: 305.1 kB / 0.507 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.4197, allocations: 1.286 MB / 0.5083 GB, free: 12.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.4221, allocations: 1.924 MB / 0.5102 GB, free: 10.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.4265, allocations: 3.348 MB / 0.5135 GB, free: 6.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4266, allocations: 4 kB / 0.5135 GB, free: 6.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006487/0.4331, allocations: 4.248 MB / 0.5176 GB, free: 2.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4331, allocations: 15.94 kB / 0.5176 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.4331, allocations: 20 kB / 0.5176 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.4356, allocations: 0.7667 MB / 0.5184 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.4379, allocations: 0.5656 MB / 0.5189 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.4487, allocations: 10.89 MB / 0.5296 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4505, allocations: 111.8 kB / 0.5297 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.4507, allocations: 100 kB / 0.5298 GB, free: 5.621 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.002425/0.4531, allocations: 1.613 MB / 0.5314 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.4536, allocations: 312.2 kB / 0.5316 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/0.4599, allocations: 3.906 MB / 0.5355 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.46, allocations: 12.05 kB / 0.5355 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.46, allocations: 3.984 kB / 0.5355 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.4612, allocations: 0.6807 MB / 0.5361 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.4616, allocations: 51.98 kB / 0.5362 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.463, allocations: 103.9 kB / 0.5363 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/0.4634, allocations: 209.6 kB / 0.5365 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007751/0.4712, allocations: 3.934 MB / 0.5403 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006534/0.4777, allocations: 4.832 MB / 0.5451 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001882/0.4796, allocations: 1.413 MB / 0.5464 GB, free: 4.406 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00288/0.4825, allocations: 2.062 MB / 0.5484 GB, free: 2.344 MB / 478.1 MB Notification: Performance of Backend: time 3.81e-07/0.4825, allocations: 3.938 kB / 0.5484 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1614/0.6439, allocations: 3.048 MB / 0.5514 GB, free: 151.2 MB / 478.1 MB Notification: Performance of SimCode: time 0.01529/0.6593, allocations: 9.835 MB / 0.561 GB, free: 147.6 MB / 478.1 MB Notification: Performance of Templates: time 0.07632/0.7356, allocations: 53.87 MB / 0.6136 GB, free: 109.7 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)