Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.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/Complex 3.2.1+maint.om/package.mo): time 0.006172/0.006172, allocations: 178.4 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.387/1.387, allocations: 170.6 MB / 178.4 MB, free: 15.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001702/0.001703, allocations: 112.7 kB / 217.7 MB, free: 8.5 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.699e-06/9.729e-06, allocations: 4 kB / 261.8 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 38.76 MB / 300.5 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/0.4126, allocations: 86.8 MB / 387.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/0.413, allocations: 84.05 kB / 387.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.07549/0.4885, allocations: 25.85 MB / 413.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.4887, allocations: 20 kB / 413.3 MB, free: 8.836 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002991/0.4917, allocations: 1.124 MB / 414.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4918, allocations: 8.031 kB / 414.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.4927, allocations: 175.1 kB / 414.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.4949, allocations: 0.77 MB / 415.3 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.4949, allocations: 36 kB / 415.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.4952, allocations: 59.94 kB / 415.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/0.4964, allocations: 0.5214 MB / 415.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.498, allocations: 0.7335 MB / 416.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/0.498, allocations: 0 / 416.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.4981, allocations: 0 / 416.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4981, allocations: 28 kB / 416.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006326/0.5045, allocations: 3.766 MB / 420.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.5048, allocations: 138.3 kB / 420.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.505, allocations: 129.3 kB / 420.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.5051, allocations: 4.281 kB / 420.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5051, allocations: 38.84 kB / 420.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.5051, allocations: 4 kB / 420.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001922/0.5071, allocations: 0.8667 MB / 421.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.5071, allocations: 88.91 kB / 421.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009732/0.5081, allocations: 0.574 MB / 422.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.5082, allocations: 29.7 kB / 422.3 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.5085, allocations: 485.3 kB / 422.8 MB, free: 116 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5086, allocations: 126.4 kB / 422.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.5087, allocations: 4 kB / 422.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5089, allocations: 382.8 kB / 423.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.5091, allocations: 109.6 kB / 423.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.5095, allocations: 416.3 kB / 423.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.5099, allocations: 192 kB / 424 MB, free: 14.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5099, allocations: 4 kB / 424 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001087/0.511, allocations: 0.5562 MB / 424.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.511, allocations: 4.156 kB / 424.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.5111, allocations: 16 kB / 424.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.5113, allocations: 36.84 kB / 424.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.5119, allocations: 175.7 kB / 424.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.5134, allocations: 1.224 MB / 426 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.5141, allocations: 32.08 kB / 426.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.5142, allocations: 36 kB / 426.1 MB, free: 12.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.000177/0.5143, allocations: 136.6 kB / 426.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5145, allocations: 75.06 kB / 426.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/0.5152, allocations: 313.7 kB / 426.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5152, allocations: 4 kB / 426.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5152, allocations: 0 / 426.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5152, allocations: 0 / 426.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.5172, allocations: 1.056 MB / 427.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5172, allocations: 0 / 427.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.5177, allocations: 88.11 kB / 427.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.5178, allocations: 16.86 kB / 427.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.5178, allocations: 4 kB / 427.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.519, allocations: 1.228 MB / 429 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.519, allocations: 8.016 kB / 429 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008895/0.5199, allocations: 0.6386 MB / 429.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.5202, allocations: 168.2 kB / 429.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.5204, allocations: 7.906 kB / 429.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.5208, allocations: 31.91 kB / 429.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.5209, allocations: 23.97 kB / 429.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.5209, allocations: 8 kB / 429.9 MB, free: 8.438 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000642/0.5215, allocations: 435.2 kB / 430.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008315/0.5224, allocations: 180 kB / 430.5 MB, free: 7.844 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (35): * Single equations (assignments): 34 * 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.0004652/0.5228, allocations: 266.7 kB / 430.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000769/0.5236, allocations: 439.9 kB / 431.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.5236, allocations: 128 / 431.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.524, allocations: 229.6 kB / 431.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.5248, allocations: 168.2 kB / 431.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.5276, allocations: 1.223 MB / 432.8 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/0.5285, allocations: 1.074 MB / 433.9 MB, free: 4.363 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5286, allocations: 0 / 433.9 MB, free: 4.363 MB / 314.7 MB Notification: Performance of Templates: time 0.01754/0.5461, allocations: 8.065 MB / 441.9 MB, free: 12.29 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)