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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009416/0.0009418, allocations: 99 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 202.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.2 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002706, allocations: 12 kB / 306.6 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 51.49 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002503/0.1262, allocations: 1.674 MB / 359.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1273, allocations: 0.5381 MB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1275, allocations: 3.938 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.81e-05/0.1276, allocations: 15.91 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1277, allocations: 43.84 kB / 360.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.128, allocations: 59.86 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1283, allocations: 123.8 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1285, allocations: 33.05 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1286, allocations: 71.75 kB / 360.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1288, allocations: 75.67 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.1288, allocations: 8 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.1289, allocations: 20 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.129, allocations: 27.89 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.129, allocations: 49.64 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1292, allocations: 131.9 kB / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1292, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1292, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1292, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 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.0008155/0.1301, allocations: 479.1 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1301, allocations: 8.031 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1303, allocations: 19.81 kB / 361.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1306, allocations: 214.8 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/0.1307, allocations: 89.11 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1307, allocations: 12 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1311, allocations: 144.7 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1311, allocations: 3.938 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1311, allocations: 4 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1311, allocations: 4 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1314, allocations: 111.9 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.1324, allocations: 0.511 MB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1327, allocations: 122.7 kB / 362.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1328, allocations: 3.953 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1328, allocations: 34.55 kB / 362.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1328, allocations: 4 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008787/0.1337, allocations: 319.6 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1338, allocations: 51.41 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1339, allocations: 153.9 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.134, allocations: 25.7 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.1341, allocations: 119.9 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1341, allocations: 31.92 kB / 363.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.1341, allocations: 4 kB / 363.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1343, allocations: 322.8 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1345, allocations: 67.91 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1346, allocations: 90.47 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1348, allocations: 85.69 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1348, allocations: 0 / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000502/0.1353, allocations: 252 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.1354, allocations: 45.64 kB / 364.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1354, allocations: 0 / 364.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.1357, allocations: 72.81 kB / 364.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.1358, allocations: 23.98 kB / 364.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.1374, allocations: 1.515 MB / 365.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1378, allocations: 59.95 kB / 365.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1378, allocations: 4 kB / 365.9 MB, free: 5.852 MB / 302.1 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 () * Number of clocked 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 0.0001343/0.138, allocations: 121.8 kB / 366 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.138, allocations: 19.84 kB / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.1384, allocations: 171.1 kB / 366.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1384, allocations: 0 / 366.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1385, allocations: 4 kB / 366.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1385, allocations: 0 / 366.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1387, allocations: 221.5 kB / 366.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1387, allocations: 0 / 366.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.1388, allocations: 12 kB / 366.4 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.139, allocations: 76.8 kB / 366.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.139, allocations: 7.953 kB / 366.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.1405, allocations: 1.511 MB / 368 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1405, allocations: 4.031 kB / 368 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.1409, allocations: 268.3 kB / 368.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.141, allocations: 81.02 kB / 368.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.141, allocations: 7.953 kB / 368.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1412, allocations: 19.98 kB / 368.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.1412, allocations: 11.98 kB / 368.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1413, allocations: 4 kB / 368.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.1414, allocations: 119.3 kB / 368.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1414, allocations: 0 / 368.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000314/0.1417, allocations: 44 kB / 368.6 MB, free: 2.934 MB / 302.1 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 () * Number of clocked 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.0001635/0.1419, allocations: 99.19 kB / 368.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006877/0.1425, allocations: 329.9 kB / 369 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1426, allocations: 0 / 369 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.1428, allocations: 174.7 kB / 369.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1431, allocations: 24.11 kB / 369.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.1437, allocations: 324.4 kB / 369.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.144, allocations: 0.7126 MB / 370.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.144, allocations: 8.547 kB / 370.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1441, allocations: 11.44 kB / 370.2 MB, free: 1.168 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1441, allocations: 4 kB / 370.2 MB, free: 1.164 MB / 302.1 MB Notification: Performance of Templates: time 0.2049/0.349, allocations: 2.478 MB / 372.7 MB, free: 19.31 MB / 302.1 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)