Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.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.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|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|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|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|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 110.9 kB / 17.75 MB, free: 5.293 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.001105/0.001105, allocations: 190.6 kB / 18.67 MB, free: 4.375 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009651/0.0009651, allocations: 47.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2144, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump): time 0.01676/0.2312, allocations: 17.23 MB / 418.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.2409, allocations: 5.748 MB / 424.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.243, allocations: 111.6 kB / 424.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.2458, allocations: 1.305 MB / 425.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.2499, allocations: 1.747 MB / 427.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.2523, allocations: 1.186 MB / 428.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005147/0.2575, allocations: 5.395 MB / 434.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.2619, allocations: 4.367 MB / 438.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.2646, allocations: 2.449 MB / 441 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.2675, allocations: 2.779 MB / 443.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000738/0.2682, allocations: 0.6445 MB / 444.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.2696, allocations: 0.8591 MB / 445.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.2708, allocations: 1.511 MB / 446.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.2731, allocations: 2.777 MB / 449.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007102/0.2802, allocations: 8.42 MB / 458 MB, free: 48 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2803, allocations: 4 kB / 458 MB, free: 44 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2803, allocations: 0 / 458 MB, free: 44 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.2804, allocations: 4 kB / 458 MB, free: 40 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01281/0.2932, allocations: 5.709 MB / 463.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2933, allocations: 15.97 kB / 463.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.2986, allocations: 1.03 MB / 464.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006055/0.3046, allocations: 3.201 MB / 467.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.305, allocations: 479.1 kB / 468.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000584/0.3056, allocations: 419.8 kB / 468.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008664/0.3142, allocations: 5.406 MB / 474.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/0.3143, allocations: 7.906 kB / 474.2 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004023/0.3147, allocations: 176 kB / 474.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.3149, allocations: 168.2 kB / 474.6 MB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.3222, allocations: 4.564 MB / 479.1 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02518/0.3474, allocations: 17.57 MB / 496.7 MB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007313/0.3548, allocations: 8.255 MB / 0.4931 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.3577, allocations: 1.862 MB / 0.4949 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009604/0.3673, allocations: 5.48 MB / 0.5003 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/0.3693, allocations: 1.261 MB / 0.5015 GB, free: 6.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 4.148e-06/0.3693, allocations: 0 / 0.5015 GB, free: 6.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=213): time 0.01947/0.3888, allocations: 9.025 MB / 0.5103 GB, free: 13.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.389, allocations: 334.4 kB / 0.5106 GB, free: 12.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.3928, allocations: 2.492 MB / 0.5131 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.3929, allocations: 69.7 kB / 0.5131 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.3945, allocations: 1.932 MB / 0.515 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.3951, allocations: 0.7086 MB / 0.5157 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007397/0.3958, allocations: 465.2 kB / 0.5162 GB, free: 7.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.3959, allocations: 313.1 kB / 0.5165 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.3977, allocations: 1.121 MB / 0.5176 GB, free: 5.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.4002, allocations: 1.896 MB / 0.5194 GB, free: 3.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.4045, allocations: 3.014 MB / 0.5224 GB, free: 188 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.4046, allocations: 8 kB / 0.5224 GB, free: 180 kB / 446.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006982/0.4115, allocations: 4.051 MB / 0.5263 GB, free: 12.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.4116, allocations: 16 kB / 0.5263 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.4116, allocations: 23.98 kB / 0.5264 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.4142, allocations: 1.005 MB / 0.5273 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.4159, allocations: 487.1 kB / 0.5278 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1858/0.6018, allocations: 15.52 MB / 0.543 GB, free: 123.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.6041, allocations: 161 kB / 0.5431 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.6042, allocations: 110.6 kB / 0.5432 GB, free: 123.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002894/0.6071, allocations: 2.207 MB / 0.5454 GB, free: 122.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001676/0.6088, allocations: 1.894 MB / 0.5472 GB, free: 120.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003115/0.612, allocations: 2.987 MB / 0.5501 GB, free: 118.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.612, allocations: 3.969 kB / 0.5501 GB, free: 118.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.005183/0.6172, allocations: 4.034 MB / 0.5541 GB, free: 117.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6172, allocations: 14.69 kB / 0.5541 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6172, allocations: 26.34 kB / 0.5541 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.6192, allocations: 1.01 MB / 0.5551 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.6208, allocations: 476.4 kB / 0.5556 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.6323, allocations: 15.52 MB / 0.5707 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.6343, allocations: 186.3 kB / 0.5709 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.6345, allocations: 107.9 kB / 0.571 GB, free: 103.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * 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: 6 * 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): 3 systems {(2,22,100.0%), (3,21,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004074/0.6349, allocations: 375.8 kB / 0.5714 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.6352, allocations: 281.7 kB / 0.5716 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/0.6406, allocations: 3.334 MB / 0.5749 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.6406, allocations: 7.969 kB / 0.5749 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6406, allocations: 0 / 0.5749 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009105/0.6416, allocations: 0.5986 MB / 0.5755 GB, free: 99.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/0.6419, allocations: 51.98 kB / 0.5755 GB, free: 99.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6433, allocations: 111.9 kB / 0.5756 GB, free: 99.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.6436, allocations: 201.6 kB / 0.5758 GB, free: 99.05 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006058/0.6497, allocations: 3.404 MB / 0.5791 GB, free: 95.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004606/0.6543, allocations: 4.087 MB / 0.5831 GB, free: 91.58 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001282/0.6556, allocations: 1.179 MB / 0.5843 GB, free: 90.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.6574, allocations: 1.687 MB / 0.5859 GB, free: 88.71 MB / 462.1 MB Notification: Performance of Backend: time 2e-07/0.6574, allocations: 0 / 0.5859 GB, free: 88.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007754/0.6652, allocations: 5.908 MB / 0.5917 GB, free: 82.66 MB / 462.1 MB Notification: Performance of SimCode: time 0.009222/0.6744, allocations: 8.213 MB / 0.5997 GB, free: 74.46 MB / 462.1 MB Notification: Performance of Templates: time 0.07237/0.7468, allocations: 60.88 MB / 0.6592 GB, free: 14.11 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)