Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [: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.001301/0.001301, allocations: 203.9 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008252/0.0008254, allocations: 94.38 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.474e-06, allocations: 0 / 343.1 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 51.48 MB / 394.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.3453, allocations: 78.17 MB / 472.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.3456, allocations: 67.67 kB / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007883/0.3535, allocations: 2.611 MB / 475.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3535, allocations: 4 kB / 475.5 MB, free: 12.08 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004948/0.354, allocations: 460.7 kB / 475.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.354, allocations: 11.36 kB / 475.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.3542, allocations: 19.81 kB / 475.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3544, allocations: 218.2 kB / 476.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.3545, allocations: 92.53 kB / 476.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3545, allocations: 8 kB / 476.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001725/0.3547, allocations: 74.69 kB / 476.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3549, allocations: 95 kB / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3549, allocations: 0 / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3549, allocations: 0 / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3549, allocations: 4 kB / 476.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.3556, allocations: 0.5024 MB / 476.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.3559, allocations: 90.75 kB / 477 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.356, allocations: 38.05 kB / 477.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.356, allocations: 7.391 kB / 477.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.356, allocations: 36.12 kB / 477.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.356, allocations: 0 / 477.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003833/0.3564, allocations: 148 kB / 477.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.3565, allocations: 55.41 kB / 477.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.3565, allocations: 124.8 kB / 477.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3566, allocations: 29.7 kB / 477.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3566, allocations: 118.5 kB / 477.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3567, allocations: 23.16 kB / 477.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.3567, allocations: 0 / 477.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.3567, allocations: 321.2 kB / 477.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.3568, allocations: 41.19 kB / 477.9 MB, free: 9.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.3569, allocations: 63.61 kB / 478 MB, free: 9.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.357, allocations: 45.97 kB / 478 MB, free: 9.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.357, allocations: 4 kB / 478.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002675/0.3573, allocations: 163.4 kB / 478.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3573, allocations: 8 kB / 478.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3573, allocations: 0 / 478.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.3575, allocations: 71.58 kB / 478.3 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.3576, allocations: 22.84 kB / 478.3 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.3586, allocations: 1.381 MB / 479.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.3589, allocations: 46.22 kB / 479.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.3589, allocations: 12.31 kB / 479.7 MB, free: 8.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cv,dcPowerSupply.cc,dcPowerSupply.cp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.359, allocations: 111 kB / 479.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.359, allocations: 7.906 kB / 479.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3591, allocations: 19.92 kB / 479.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3591, allocations: 0 / 479.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3591, allocations: 0 / 479.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3591, allocations: 3.906 kB / 479.9 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3593, allocations: 183.8 kB / 480.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3593, allocations: 1 kB / 480.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.3594, allocations: 15.42 kB / 480.1 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.3595, allocations: 75.55 kB / 480.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3595, allocations: 5.625 kB / 480.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/0.3604, allocations: 1.384 MB / 481.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3605, allocations: 0 / 481.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003335/0.3608, allocations: 245.2 kB / 481.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.3608, allocations: 85.02 kB / 481.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3609, allocations: 7.141 kB / 481.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.361, allocations: 23.03 kB / 481.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3611, allocations: 3.141 kB / 481.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3611, allocations: 11 kB / 481.9 MB, free: 6.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.787e-05/0.3612, allocations: 103 kB / 482 MB, free: 5.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.3615, allocations: 43.94 kB / 482.1 MB, free: 5.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.3616, allocations: 98.44 kB / 482.2 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.362, allocations: 226.4 kB / 482.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.362, allocations: 2.156 kB / 482.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3622, allocations: 146.4 kB / 482.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3624, allocations: 21.23 kB / 482.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.3628, allocations: 145.5 kB / 482.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3629, allocations: 0.7308 MB / 483.4 MB, free: 4.609 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3629, allocations: 0 / 483.4 MB, free: 4.609 MB / 346.7 MB Notification: Performance of Templates: time 0.004464/0.3674, allocations: 2.384 MB / 485.8 MB, free: 2.574 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)