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.0009595/0.0009594, allocations: 95.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 7.984 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002084/0.117, allocations: 1.763 MB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.118, allocations: 0.569 MB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1181, allocations: 0 / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.712e-05/0.1182, allocations: 15.86 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.1182, allocations: 35.75 kB / 361.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1185, allocations: 59.94 kB / 361.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1187, allocations: 199.3 kB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1188, allocations: 41.05 kB / 361.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1189, allocations: 71.7 kB / 362 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1191, allocations: 75.72 kB / 362.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1191, allocations: 12 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.1192, allocations: 12 kB / 362.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.1193, allocations: 23.91 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.1194, allocations: 97.34 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1196, allocations: 171.7 kB / 362.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1196, allocations: 4 kB / 362.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1196, allocations: 3.938 kB / 362.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1196, allocations: 0 / 362.4 MB, free: 10.13 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.0007351/0.1204, allocations: 472.7 kB / 362.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1204, allocations: 11.97 kB / 362.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.1206, allocations: 24.75 kB / 362.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1208, allocations: 210.9 kB / 363.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.121, allocations: 89.67 kB / 363.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.121, allocations: 16.36 kB / 363.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1213, allocations: 144.8 kB / 363.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1214, allocations: 4 kB / 363.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1214, allocations: 4 kB / 363.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1214, allocations: 4 kB / 363.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.1218, allocations: 119.9 kB / 363.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.1226, allocations: 0.5109 MB / 364 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.123, allocations: 118.7 kB / 364.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1232, allocations: 60.83 kB / 364.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1232, allocations: 0 / 364.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1232, allocations: 34.5 kB / 364.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.1232, allocations: 4 kB / 364.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008984/0.1241, allocations: 323.3 kB / 364.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1242, allocations: 55.41 kB / 364.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1243, allocations: 149.4 kB / 364.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1244, allocations: 29.7 kB / 364.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1244, allocations: 119.8 kB / 364.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1245, allocations: 27.64 kB / 364.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1245, allocations: 17.72 kB / 364.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1246, allocations: 322.8 kB / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.1248, allocations: 59.97 kB / 365.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.125, allocations: 101.7 kB / 365.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.1253, allocations: 148.2 kB / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1254, allocations: 0 / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006364/0.126, allocations: 276.2 kB / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.1261, allocations: 41.69 kB / 365.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1261, allocations: 0 / 365.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.1263, allocations: 72.89 kB / 365.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.1264, allocations: 31.92 kB / 365.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.1281, allocations: 1.495 MB / 367.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.1284, allocations: 63.86 kB / 367.5 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1285, allocations: 4 kB / 367.5 MB, free: 4.578 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.cp,dcPowerSupply.cc,dcPowerSupply.cv) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1286, allocations: 129.8 kB / 367.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1286, allocations: 7.906 kB / 367.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.129, allocations: 179.1 kB / 367.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.129, allocations: 0 / 367.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1291, allocations: 7.938 kB / 367.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1291, allocations: 0 / 367.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.1293, allocations: 217.5 kB / 368 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1293, allocations: 0 / 368 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.1294, allocations: 15.98 kB / 368 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.1296, allocations: 76.8 kB / 368.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1296, allocations: 4 kB / 368.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.1311, allocations: 1.499 MB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1311, allocations: 0 / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1315, allocations: 264.3 kB / 369.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.1316, allocations: 85.02 kB / 370 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1316, allocations: 7.938 kB / 370 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1318, allocations: 15.98 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.1318, allocations: 15.98 kB / 370 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1319, allocations: 4.188 kB / 370 MB, free: 1.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.1319, allocations: 110.8 kB / 370.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1319, allocations: 3.938 kB / 370.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1323, allocations: 51.91 kB / 370.2 MB, free: 1.668 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.1324, allocations: 95.25 kB / 370.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.1331, allocations: 326 kB / 370.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1331, allocations: 3.938 kB / 370.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.1334, allocations: 182.5 kB / 370.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1338, allocations: 32.03 kB / 370.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.1344, allocations: 328.6 kB / 371.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2056/0.34, allocations: 0.7033 MB / 371.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.3401, allocations: 6.547 kB / 371.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3402, allocations: 11.5 kB / 371.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of SimCode: time 4.248e-06/0.3402, allocations: 0.5625 kB / 371.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of Templates: time 0.008624/0.3488, allocations: 2.593 MB / 374.4 MB, free: 19.22 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)