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.001344/0.001344, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.39 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003633/0.1222, allocations: 2.045 MB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1233, allocations: 0.5845 MB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1234, allocations: 0 / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1236, allocations: 19.8 kB / 361.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.1237, allocations: 35.7 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.124, allocations: 71.83 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1243, allocations: 211.3 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1244, allocations: 57.02 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1245, allocations: 79.75 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1247, allocations: 91.59 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1248, allocations: 20 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.1248, allocations: 24 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.1249, allocations: 27.91 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.125, allocations: 79.66 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1252, allocations: 191.4 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1252, allocations: 0 / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1252, allocations: 0 / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1253, allocations: 7.938 kB / 362.4 MB, free: 9.809 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.0007068/0.126, allocations: 492.5 kB / 362.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.126, allocations: 12.03 kB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1262, allocations: 24.73 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1265, allocations: 212.1 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.1265, allocations: 93.67 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1266, allocations: 8.375 kB / 363.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1269, allocations: 133.6 kB / 363.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1269, allocations: 0 / 363.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1269, allocations: 4 kB / 363.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1269, allocations: 4 kB / 363.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.1272, allocations: 115.9 kB / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.1281, allocations: 0.507 MB / 364 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.1284, allocations: 110.7 kB / 364.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1286, allocations: 52.83 kB / 364.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1286, allocations: 7.984 kB / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1287, allocations: 38.44 kB / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1287, allocations: 0 / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000811/0.1295, allocations: 303.4 kB / 364.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1295, allocations: 51.41 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1297, allocations: 150 kB / 364.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1297, allocations: 29.7 kB / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.1298, allocations: 115.9 kB / 364.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1298, allocations: 31.55 kB / 364.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.1299, allocations: 33.72 kB / 364.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.13, allocations: 322.8 kB / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.1302, allocations: 51.97 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1304, allocations: 86.47 kB / 365.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1307, allocations: 152.1 kB / 365.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1307, allocations: 0 / 365.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005665/0.1313, allocations: 256.3 kB / 365.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.1313, allocations: 37.77 kB / 365.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1313, allocations: 3.984 kB / 365.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.1316, allocations: 80.75 kB / 365.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.1317, allocations: 16.08 kB / 365.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.1335, allocations: 1.617 MB / 367.5 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.1338, allocations: 51.8 kB / 367.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1339, allocations: 4 kB / 367.6 MB, free: 4.199 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.0001572/0.134, allocations: 129.8 kB / 367.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1341, allocations: 11.91 kB / 367.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.1345, allocations: 175 kB / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1345, allocations: 0 / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1345, allocations: 0 / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1345, allocations: 4 kB / 367.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1348, allocations: 213.6 kB / 368.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1348, allocations: 0 / 368.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.1349, allocations: 15.98 kB / 368.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.135, allocations: 76.75 kB / 368.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1351, allocations: 7.938 kB / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.1367, allocations: 1.598 MB / 369.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1367, allocations: 7.922 kB / 369.8 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.1371, allocations: 264.2 kB / 370.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.1372, allocations: 85.02 kB / 370.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.1372, allocations: 0 / 370.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1374, allocations: 19.92 kB / 370.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.1374, allocations: 11.98 kB / 370.2 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1375, allocations: 8 kB / 370.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.542e-05/0.1376, allocations: 111.4 kB / 370.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 0 / 370.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1379, allocations: 55.84 kB / 370.3 MB, free: 1.18 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.0001621/0.138, allocations: 98.81 kB / 370.4 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006797/0.1387, allocations: 318.1 kB / 370.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1388, allocations: 0 / 370.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.139, allocations: 174.6 kB / 370.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1394, allocations: 26.38 kB / 371 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.14, allocations: 278.3 kB / 371.2 MB, free: 240 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.181/0.3211, allocations: 0.7038 MB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.268e-05/0.3212, allocations: 8 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.3213, allocations: 11.5 kB / 371.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3213, allocations: 0 / 371.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of Templates: time 0.007975/0.3293, allocations: 2.93 MB / 374.9 MB, free: 19.59 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 -s cvode -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)