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.0009441/0.0009438, allocations: 98.53 kB / 17 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 198.2 kB / 17.91 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 8 kB / 307.1 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002181/0.1261, allocations: 1.72 MB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.127, allocations: 0.5303 MB / 360.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.1271, allocations: 4 kB / 360.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.871e-05/0.1272, allocations: 15.84 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.1273, allocations: 31.78 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1275, allocations: 55.86 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1277, allocations: 179.4 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1278, allocations: 37.05 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.128, allocations: 75.75 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1281, allocations: 71.73 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1282, allocations: 8 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.1282, allocations: 15.98 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.1283, allocations: 23.86 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.1283, allocations: 49.64 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1285, allocations: 131.9 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1285, allocations: 0 / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1285, allocations: 0 / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1285, allocations: 0 / 361.6 MB, free: 10.68 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.0006697/0.1292, allocations: 480.5 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1293, allocations: 8.031 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1294, allocations: 23.75 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1296, allocations: 213.4 kB / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.714e-05/0.1297, allocations: 97.05 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1298, allocations: 20 kB / 362.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1301, allocations: 126.7 kB / 362.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1301, allocations: 0 / 362.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.1301, allocations: 4 kB / 362.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1301, allocations: 4 kB / 362.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1304, allocations: 119.9 kB / 362.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.1313, allocations: 0.5149 MB / 363.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.1316, allocations: 122.6 kB / 363.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.1318, allocations: 56.83 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1318, allocations: 0 / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.1319, allocations: 42.52 kB / 363.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1319, allocations: 0 / 363.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008261/0.1327, allocations: 315.4 kB / 363.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1327, allocations: 55.41 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1329, allocations: 149.9 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1329, allocations: 29.7 kB / 363.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.133, allocations: 119.9 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.133, allocations: 31.5 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.133, allocations: 0 / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1332, allocations: 326.8 kB / 364.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1334, allocations: 59.97 kB / 364.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1336, allocations: 94.47 kB / 364.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1337, allocations: 85.69 kB / 364.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.1338, allocations: 7.984 kB / 364.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000484/0.1342, allocations: 252 kB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.1343, allocations: 42.12 kB / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1343, allocations: 0 / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.1346, allocations: 72.88 kB / 365 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.1347, allocations: 23.92 kB / 365 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.1365, allocations: 1.502 MB / 366.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.1368, allocations: 59.95 kB / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1369, allocations: 4 kB / 366.6 MB, free: 5.242 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.0001116/0.137, allocations: 125.8 kB / 366.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.137, allocations: 15.86 kB / 366.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.1374, allocations: 179 kB / 366.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1374, allocations: 0 / 366.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1374, allocations: 0 / 366.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1374, allocations: 4 kB / 366.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1377, allocations: 213.6 kB / 367.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1377, allocations: 4 kB / 367.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.1378, allocations: 8 kB / 367.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.1379, allocations: 84.8 kB / 367.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.138, allocations: 3.953 kB / 367.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.1393, allocations: 1.488 MB / 368.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1394, allocations: 0 / 368.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.1398, allocations: 264.1 kB / 368.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1398, allocations: 89.08 kB / 369 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1399, allocations: 7.953 kB / 369 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.14, allocations: 19.92 kB / 369 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.1401, allocations: 11.98 kB / 369.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1401, allocations: 4 kB / 369.1 MB, free: 2.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.1402, allocations: 111.4 kB / 369.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1402, allocations: 192 / 369.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1405, allocations: 48 kB / 369.2 MB, free: 2.348 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.0001469/0.1406, allocations: 107.1 kB / 369.3 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.1413, allocations: 326 kB / 369.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1413, allocations: 4 kB / 369.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.1415, allocations: 174.7 kB / 369.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1419, allocations: 27.36 kB / 369.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.1425, allocations: 320.4 kB / 370.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1428, allocations: 0.7126 MB / 370.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.085e-05/0.1428, allocations: 8.547 kB / 370.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.1429, allocations: 11.44 kB / 370.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1429, allocations: 0 / 370.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of Templates: time 0.1784/0.3213, allocations: 2.486 MB / 373.4 MB, free: 18.74 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)