Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001108/0.001108, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.294/1.294, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001211/0.001211, allocations: 51.92 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0734/0.07462, allocations: 46.62 MB / 375.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.1674/0.2421, allocations: 16.58 MB / 392.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00881/0.2509, allocations: 5.446 MB / 397.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.2527, allocations: 91.34 kB / 398 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.2555, allocations: 1.25 MB / 399.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.2594, allocations: 1.596 MB / 400.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.2617, allocations: 1.054 MB / 401.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005936/0.2676, allocations: 5.12 MB / 407 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004196/0.2718, allocations: 3.837 MB / 410.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.2748, allocations: 2.189 MB / 413 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.2781, allocations: 2.597 MB / 415.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007056/0.2788, allocations: 0.6133 MB / 416.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.2805, allocations: 0.8356 MB / 417.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.2816, allocations: 1.416 MB / 418.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.2841, allocations: 2.632 MB / 421.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.2912, allocations: 8.078 MB / 429.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2912, allocations: 0 / 429.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2912, allocations: 0 / 429.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.2913, allocations: 7.938 kB / 429.2 MB, free: 10.19 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01177/0.3031, allocations: 5.37 MB / 434.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3031, allocations: 16.02 kB / 434.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.3082, allocations: 0.9909 MB / 435.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.3131, allocations: 2.8 MB / 438.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.3133, allocations: 304.5 kB / 438.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005684/0.3139, allocations: 399.9 kB / 439.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008531/0.3225, allocations: 5.205 MB / 444.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.718e-05/0.3226, allocations: 11.91 kB / 444.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/0.3229, allocations: 172 kB / 444.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.3231, allocations: 168 kB / 444.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007367/0.3305, allocations: 4.439 MB / 449 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.3533, allocations: 16.59 MB / 465.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007214/0.3605, allocations: 8.425 MB / 474.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.3633, allocations: 1.694 MB / 475.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007892/0.3712, allocations: 4.94 MB / 480.7 MB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3713, allocations: 51.81 kB / 480.7 MB, free: 4.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 5.43e-06/0.3713, allocations: 4 kB / 480.7 MB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.0119/0.3832, allocations: 6.111 MB / 486.9 MB, free: 14.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3833, allocations: 68.72 kB / 486.9 MB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.3865, allocations: 2.294 MB / 489.2 MB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.3866, allocations: 49.7 kB / 489.3 MB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.3879, allocations: 1.848 MB / 491.1 MB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.3883, allocations: 0.5391 MB / 491.6 MB, free: 9.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/0.3889, allocations: 399.6 kB / 492 MB, free: 9.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3891, allocations: 305.1 kB / 492.3 MB, free: 8.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.3905, allocations: 0.8396 MB / 493.2 MB, free: 7.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.3925, allocations: 1.564 MB / 494.7 MB, free: 6.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.3959, allocations: 2.551 MB / 497.3 MB, free: 3.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.396, allocations: 8 kB / 497.3 MB, free: 3.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004699/0.4007, allocations: 2.884 MB / 0.4885 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.4007, allocations: 20.45 kB / 0.4885 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.4008, allocations: 28 kB / 0.4885 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.4011, allocations: 121.7 kB / 0.4886 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4032, allocations: 0.5421 MB / 0.4892 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.4049, allocations: 1.993 MB / 0.4911 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4066, allocations: 107.9 kB / 0.4912 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.4067, allocations: 104 kB / 0.4913 GB, free: 13.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001894/0.4086, allocations: 1.184 MB / 0.4925 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/0.409, allocations: 249 kB / 0.4927 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.4133, allocations: 2.433 MB / 0.4951 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4133, allocations: 7.969 kB / 0.4951 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4133, allocations: 0 / 0.4951 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.4142, allocations: 0.494 MB / 0.4956 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.4145, allocations: 35.94 kB / 0.4956 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.4156, allocations: 79.92 kB / 0.4957 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.4158, allocations: 133.1 kB / 0.4958 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004713/0.4206, allocations: 2.256 MB / 0.498 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004647/0.4252, allocations: 3.006 MB / 0.5009 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001281/0.4265, allocations: 0.8416 MB / 0.5018 GB, free: 2.391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002505/0.429, allocations: 1.549 MB / 0.5033 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of Backend: time 4.61e-07/0.429, allocations: 4 kB / 0.5033 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003902/0.433, allocations: 1.787 MB / 0.505 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 0.01251/0.4455, allocations: 7.29 MB / 0.5121 GB, free: 7.664 MB / 446.1 MB Notification: Performance of Templates: time 0.06671/0.5122, allocations: 38.6 MB / 0.5498 GB, free: 0.9844 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)