Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.6469/0.6469, allocations: 110.8 MB / 118 MB, free: 14.65 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001678/0.001678, allocations: 159.9 kB / 143.7 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.652e-06, allocations: 0 / 173.5 MB, free: 23.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05797/0.05799, allocations: 25.17 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.1833, allocations: 38.15 MB / 236.8 MB, free: 4.344 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001396/0.1835, allocations: 62.44 kB / 236.8 MB, free: 4.344 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01803/0.2016, allocations: 7.491 MB / 244.3 MB, free: 2.703 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.2016, allocations: 7.75 kB / 244.3 MB, free: 2.703 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0007661/0.2024, allocations: 0.6292 MB / 245 MB, free: 2.199 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2024, allocations: 7.781 kB / 245 MB, free: 2.199 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.2025, allocations: 49.81 kB / 245 MB, free: 2.172 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.2029, allocations: 309.9 kB / 245.3 MB, free: 1.918 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2029, allocations: 11.75 kB / 245.3 MB, free: 1.918 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.203, allocations: 27.41 kB / 245.4 MB, free: 1.918 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003779/0.2033, allocations: 219.3 kB / 245.6 MB, free: 1.91 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.2038, allocations: 338.6 kB / 245.9 MB, free: 1.797 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2038, allocations: 0 / 245.9 MB, free: 1.797 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2039, allocations: 0 / 245.9 MB, free: 1.797 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2039, allocations: 7.562 kB / 245.9 MB, free: 1.797 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.2055, allocations: 1.288 MB / 247.2 MB, free: 1.02 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2056, allocations: 94.2 kB / 247.3 MB, free: 1 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2058, allocations: 69.14 kB / 247.4 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2058, allocations: 0 / 247.4 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2058, allocations: 49.48 kB / 247.4 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.2058, allocations: 0 / 247.4 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007426/0.2066, allocations: 0.5161 MB / 247.9 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2066, allocations: 88.53 kB / 248 MB, free: 0.4922 MB / 170.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2962:9-2964:50:writable] Warning: Parameter dcee.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2959:9-2961:50:writable] Warning: Parameter dcee.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2956:9-2958:50:writable] Warning: Parameter dcee.IeNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7500:7-7502:73:writable] Warning: Parameter dcee.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcee.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcee.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=149.2256510455151) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcee.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcee.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter dcee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcee.Jr) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter dcee.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.2069, allocations: 234.7 kB / 248.2 MB, free: 384 kB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2069, allocations: 29.7 kB / 248.3 MB, free: 348 kB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.2069, allocations: 207.2 kB / 248.5 MB, free: 172 kB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.207, allocations: 80.31 kB / 248.5 MB, free: 108 kB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.207, allocations: 3.906 kB / 248.5 MB, free: 108 kB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2071, allocations: 332.3 kB / 248.9 MB, free: 15.79 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.2072, allocations: 49.41 kB / 248.9 MB, free: 15.78 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2074, allocations: 119.6 kB / 249 MB, free: 15.7 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.2075, allocations: 73.84 kB / 249.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2075, allocations: 0 / 249.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003588/0.2079, allocations: 242 kB / 249.3 MB, free: 15.6 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2079, allocations: 5.25 kB / 249.4 MB, free: 15.6 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2079, allocations: 1.312 kB / 249.4 MB, free: 15.6 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.208, allocations: 24.64 kB / 249.4 MB, free: 15.59 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.2083, allocations: 72.88 kB / 249.4 MB, free: 15.57 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.2093, allocations: 1.226 MB / 250.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.2096, allocations: 17.95 kB / 250.7 MB, free: 14.33 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.2096, allocations: 13.12 kB / 250.7 MB, free: 14.33 MB / 186.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcee.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.2098, allocations: 113.7 kB / 250.8 MB, free: 14.22 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.2098, allocations: 23.03 kB / 250.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.2099, allocations: 27.2 kB / 250.9 MB, free: 14.2 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2099, allocations: 3.875 kB / 250.9 MB, free: 14.2 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2099, allocations: 0 / 250.9 MB, free: 14.2 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2099, allocations: 7.938 kB / 250.9 MB, free: 14.19 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.2106, allocations: 0.5924 MB / 251.5 MB, free: 13.81 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.2107, allocations: 4 kB / 251.5 MB, free: 13.81 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.2109, allocations: 56.91 kB / 251.5 MB, free: 13.8 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/0.211, allocations: 24.09 kB / 251.6 MB, free: 13.79 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.211, allocations: 0 / 251.6 MB, free: 13.79 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008483/0.2119, allocations: 1.222 MB / 252.8 MB, free: 12.55 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2119, allocations: 3.875 kB / 252.8 MB, free: 12.55 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004031/0.2123, allocations: 381.2 kB / 253.2 MB, free: 12.34 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.2124, allocations: 110.8 kB / 253.3 MB, free: 12.23 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.2125, allocations: 0 / 253.3 MB, free: 12.23 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2127, allocations: 38.66 kB / 253.3 MB, free: 12.21 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.2128, allocations: 15.8 kB / 253.3 MB, free: 12.2 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2128, allocations: 7.156 kB / 253.3 MB, free: 12.2 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001333/0.2129, allocations: 168 kB / 253.5 MB, free: 12.12 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.2133, allocations: 63.5 kB / 253.5 MB, free: 12.12 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.2135, allocations: 105.4 kB / 253.6 MB, free: 12.02 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.2139, allocations: 270.8 kB / 253.9 MB, free: 11.89 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.214, allocations: 0 / 253.9 MB, free: 11.89 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2142, allocations: 172.8 kB / 254.1 MB, free: 11.79 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2145, allocations: 39.78 kB / 254.1 MB, free: 11.78 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2157, allocations: 0.6129 MB / 254.7 MB, free: 11.36 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.2162, allocations: 0.825 MB / 255.6 MB, free: 10.6 MB / 186.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2162, allocations: 0 / 255.6 MB, free: 10.6 MB / 186.7 MB Notification: Performance of Templates: time 0.006493/0.2227, allocations: 2.657 MB / 258.2 MB, free: 9.289 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe 2>&1)