Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.00105, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2085, allocations: 50.53 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump): time 0.01826/0.2268, allocations: 17.84 MB / 427.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.2368, allocations: 6.016 MB / 433.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.239, allocations: 115.6 kB / 433.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.2423, allocations: 1.297 MB / 435.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.2461, allocations: 1.654 MB / 436.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.2485, allocations: 1.232 MB / 438.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004857/0.2534, allocations: 5.438 MB / 443.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004474/0.2579, allocations: 4.371 MB / 447.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.2605, allocations: 2.453 MB / 450.4 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.2636, allocations: 2.911 MB / 453.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007826/0.2644, allocations: 0.6445 MB / 453.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.2658, allocations: 0.8825 MB / 454.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.267, allocations: 1.515 MB / 456.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.2695, allocations: 2.769 MB / 459.1 MB, free: 212 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006974/0.2765, allocations: 8.456 MB / 467.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2765, allocations: 0 / 467.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2765, allocations: 3.938 kB / 467.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.27e-05/0.2766, allocations: 0 / 467.6 MB, free: 7.723 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01193/0.2885, allocations: 5.755 MB / 473.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2886, allocations: 8.031 kB / 473.3 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.2937, allocations: 1.037 MB / 474.4 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.2996, allocations: 3.217 MB / 477.6 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.3, allocations: 479.1 kB / 478 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005773/0.3005, allocations: 415.8 kB / 478.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008189/0.3087, allocations: 5.407 MB / 483.9 MB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.457e-05/0.3088, allocations: 7.906 kB / 483.9 MB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/0.3092, allocations: 176 kB / 484 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.3094, allocations: 172.2 kB / 484.2 MB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00729/0.3167, allocations: 4.564 MB / 488.8 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.3407, allocations: 17.67 MB / 0.4946 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007479/0.3482, allocations: 8.501 MB / 0.5029 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/0.3522, allocations: 2.287 MB / 0.5051 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009455/0.3616, allocations: 6.283 MB / 0.5112 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.3635, allocations: 1.272 MB / 0.5125 GB, free: 12.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 3.356e-06/0.3635, allocations: 3.938 kB / 0.5125 GB, free: 12.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=213): time 0.01815/0.3817, allocations: 9.025 MB / 0.5213 GB, free: 3.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.3819, allocations: 368.1 kB / 0.5217 GB, free: 2.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.3852, allocations: 2.501 MB / 0.5241 GB, free: 140 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.3853, allocations: 65.7 kB / 0.5242 GB, free: 68 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.3868, allocations: 1.944 MB / 0.5261 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005432/0.3874, allocations: 0.7164 MB / 0.5268 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007154/0.3881, allocations: 469.2 kB / 0.5272 GB, free: 12.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.3882, allocations: 313 kB / 0.5275 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.39, allocations: 1.125 MB / 0.5286 GB, free: 11.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.3924, allocations: 1.916 MB / 0.5305 GB, free: 9.215 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/0.3965, allocations: 3.042 MB / 0.5334 GB, free: 5.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3966, allocations: 8 kB / 0.5335 GB, free: 5.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006617/0.4032, allocations: 4.075 MB / 0.5374 GB, free: 1.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4032, allocations: 18.81 kB / 0.5375 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.4032, allocations: 20 kB / 0.5375 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.4057, allocations: 1.006 MB / 0.5385 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.4075, allocations: 487.1 kB / 0.5389 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1855/0.593, allocations: 16.61 MB / 0.5551 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.5952, allocations: 158.7 kB / 0.5553 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5954, allocations: 107 kB / 0.5554 GB, free: 108.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002807/0.5982, allocations: 2.225 MB / 0.5576 GB, free: 107.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001695/0.5999, allocations: 1.907 MB / 0.5594 GB, free: 106.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003193/0.6031, allocations: 3.013 MB / 0.5624 GB, free: 104.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.857e-06/0.6031, allocations: 6.219 kB / 0.5624 GB, free: 104.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.005235/0.6084, allocations: 4.066 MB / 0.5663 GB, free: 102.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6084, allocations: 15.59 kB / 0.5664 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6084, allocations: 23.5 kB / 0.5664 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.6105, allocations: 1.007 MB / 0.5674 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.6121, allocations: 475.5 kB / 0.5678 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.6236, allocations: 16.61 MB / 0.584 GB, free: 86.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.6257, allocations: 185.8 kB / 0.5842 GB, free: 86.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.6259, allocations: 112 kB / 0.5843 GB, free: 86.01 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 (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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 {(2,22,100.0%), (1,12,100.0%), (2,6,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.000405/0.6263, allocations: 358.3 kB / 0.5847 GB, free: 85.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.6266, allocations: 294.6 kB / 0.5849 GB, free: 85.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/0.632, allocations: 3.37 MB / 0.5882 GB, free: 82.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.6321, allocations: 7.969 kB / 0.5882 GB, free: 82.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6321, allocations: 0 / 0.5882 GB, free: 82.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/0.633, allocations: 0.5978 MB / 0.5888 GB, free: 81.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.6334, allocations: 59.98 kB / 0.5889 GB, free: 81.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.6347, allocations: 119.9 kB / 0.589 GB, free: 81.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.635, allocations: 197.7 kB / 0.5892 GB, free: 81.22 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006281/0.6413, allocations: 3.4 MB / 0.5925 GB, free: 77.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004714/0.646, allocations: 4.115 MB / 0.5965 GB, free: 73.71 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00131/0.6473, allocations: 1.179 MB / 0.5977 GB, free: 72.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001868/0.6492, allocations: 1.703 MB / 0.5993 GB, free: 70.82 MB / 462.1 MB Notification: Performance of Backend: time 3.11e-07/0.6492, allocations: 4 kB / 0.5993 GB, free: 70.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007998/0.6572, allocations: 6.108 MB / 0.6053 GB, free: 64.54 MB / 462.1 MB Notification: Performance of SimCode: time 0.009318/0.6665, allocations: 8.214 MB / 0.6133 GB, free: 56.34 MB / 462.1 MB Notification: Performance of Templates: time 0.07187/0.7384, allocations: 59.14 MB / 0.6711 GB, free: 13.68 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)