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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 200.2 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008991/0.000899, allocations: 85.89 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.53e-06/5.65e-06, allocations: 0 / 343.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09277, allocations: 51.47 MB / 394.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.3765, allocations: 122.7 MB / 0.5052 GB, free: 3.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.3768, allocations: 89.88 kB / 0.5053 GB, free: 3.055 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4179/0.7948, allocations: 104.6 MB / 0.6075 GB, free: 75.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002952/0.7951, allocations: 108.2 kB / 0.6076 GB, free: 75.75 MB / 442.7 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.01106/0.8062, allocations: 4.247 MB / 0.6117 GB, free: 74.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8062, allocations: 10.81 kB / 0.6117 GB, free: 74.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.8128, allocations: 0.9816 MB / 0.6127 GB, free: 73.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.8234, allocations: 3.988 MB / 0.6166 GB, free: 73.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.8237, allocations: 350.8 kB / 0.6169 GB, free: 72.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007677/0.8245, allocations: 242.2 kB / 0.6172 GB, free: 72.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007238/0.8318, allocations: 4.005 MB / 0.6211 GB, free: 72.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006975/0.8387, allocations: 4.668 MB / 0.6256 GB, free: 71.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-05/0.8389, allocations: 7.125 kB / 0.6256 GB, free: 71.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.8392, allocations: 7.125 kB / 0.6256 GB, free: 71.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.8393, allocations: 174.7 kB / 0.6258 GB, free: 71.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/0.865, allocations: 17.36 MB / 0.6428 GB, free: 61.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.8682, allocations: 1.548 MB / 0.6443 GB, free: 61.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.8718, allocations: 1.893 MB / 0.6461 GB, free: 60.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.8821, allocations: 6.352 MB / 0.6523 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.8839, allocations: 1.343 MB / 0.6536 GB, free: 56.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=215): time 3.917e-06/0.8839, allocations: 0 / 0.6536 GB, free: 56.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=248): time 0.01529/0.8992, allocations: 7.572 MB / 0.661 GB, free: 53.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8993, allocations: 340.5 kB / 0.6614 GB, free: 52.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.9024, allocations: 1.829 MB / 0.6631 GB, free: 51.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.9025, allocations: 35.3 kB / 0.6632 GB, free: 51.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.9038, allocations: 1.511 MB / 0.6646 GB, free: 50.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/0.9044, allocations: 0.7891 MB / 0.6654 GB, free: 50.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.9045, allocations: 0 / 0.6654 GB, free: 50.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9046, allocations: 423.3 kB / 0.6658 GB, free: 49.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.9061, allocations: 1.181 MB / 0.667 GB, free: 49.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.908, allocations: 1.941 MB / 0.6689 GB, free: 47.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.91, allocations: 1.526 MB / 0.6704 GB, free: 47.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.9101, allocations: 3.375 kB / 0.6704 GB, free: 47.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=362) (initialization): time 0.005884/0.916, allocations: 4.097 MB / 0.6744 GB, free: 45.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001271/0.9172, allocations: 8.186 MB / 0.6824 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.9173, allocations: 19.06 kB / 0.6824 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.9196, allocations: 1.034 MB / 0.6834 GB, free: 36.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.9218, allocations: 0.5233 MB / 0.6839 GB, free: 36.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.9343, allocations: 13.2 MB / 0.6968 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/0.9372, allocations: 117.2 kB / 0.6969 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.9374, allocations: 117.2 kB / 0.697 GB, free: 26.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.9375, allocations: 2.906 kB / 0.697 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006131/0.9436, allocations: 3.779 MB / 0.7007 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.9437, allocations: 22.12 kB / 0.7007 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.9459, allocations: 1.029 MB / 0.7017 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.9479, allocations: 0.5144 MB / 0.7022 GB, free: 24.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.9597, allocations: 13.2 MB / 0.7151 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.9622, allocations: 116.7 kB / 0.7152 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.9624, allocations: 115.5 kB / 0.7153 GB, free: 12.96 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006766/0.9631, allocations: 204.5 kB / 0.7155 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/0.9636, allocations: 273.8 kB / 0.7158 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006013/0.9696, allocations: 3.549 MB / 0.7193 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.9696, allocations: 24 kB / 0.7193 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9696, allocations: 0 / 0.7193 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.9697, allocations: 10.55 kB / 0.7193 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.9804, allocations: 7.299 MB / 0.7264 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.9804, allocations: 6.375 kB / 0.7264 GB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.9819, allocations: 339.2 kB / 0.7268 GB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.9843, allocations: 1.025 MB / 0.7278 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.9844, allocations: 30.89 kB / 0.7278 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.9966, allocations: 10.95 MB / 0.7385 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9966, allocations: 3.047 kB / 0.7385 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008771/1.005, allocations: 5.23 MB / 0.7436 GB, free: 3.098 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.007, allocations: 0.6195 MB / 0.7442 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005134/1.008, allocations: 27.19 kB / 0.7442 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.009, allocations: 88.25 kB / 0.7443 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.01, allocations: 163.6 kB / 0.7445 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.01, allocations: 68.19 kB / 0.7445 GB, free: 2.285 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002188/1.012, allocations: 1.359 MB / 0.7459 GB, free: 1.051 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007057/1.019, allocations: 1.507 MB / 0.7473 GB, free: 0 / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 57,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1655/1.185, allocations: 424.9 kB / 0.7477 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009287/1.194, allocations: 6.548 MB / 0.7541 GB, free: 127.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.194, allocations: 1.688 kB / 0.7541 GB, free: 127.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.197, allocations: 2.04 MB / 0.7561 GB, free: 127.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.2, allocations: 479.7 kB / 0.7566 GB, free: 127.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.213, allocations: 6.684 MB / 0.7631 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/1.216, allocations: 3.082 MB / 0.7661 GB, free: 124.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/1.216, allocations: 0 / 0.7661 GB, free: 124.9 MB / 458.7 MB Notification: Performance of Templates: time 0.08992/1.306, allocations: 61.44 MB / 0.8261 GB, free: 121.8 MB / 458.7 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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches