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.001505/0.001505, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001899, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.44 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00453/0.1382, allocations: 2.117 MB / 359.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1395, allocations: 0.565 MB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1396, allocations: 7.938 kB / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.1398, allocations: 7.922 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.1399, allocations: 27.78 kB / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1402, allocations: 71.84 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1405, allocations: 215.3 kB / 360 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1407, allocations: 49.05 kB / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1409, allocations: 83.75 kB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1411, allocations: 75.73 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.1412, allocations: 20 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.1412, allocations: 24 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.1413, allocations: 35.84 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.1414, allocations: 83.64 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.1417, allocations: 191.7 kB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1417, allocations: 0 / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1417, allocations: 0 / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1417, allocations: 0 / 360.5 MB, free: 10.83 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.001141/0.1429, allocations: 495.2 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.1429, allocations: 12.03 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.1432, allocations: 28.75 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1435, allocations: 208.1 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.656e-05/0.1436, allocations: 89.67 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1437, allocations: 12.38 kB / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.144, allocations: 129.6 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.144, allocations: 0 / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.144, allocations: 8 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1441, allocations: 0 / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1444, allocations: 115.9 kB / 361.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1455, allocations: 0.5109 MB / 362.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1459, allocations: 114.6 kB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.146, allocations: 52.83 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1461, allocations: 0 / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1461, allocations: 42.5 kB / 362.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.1461, allocations: 3.938 kB / 362.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009034/0.147, allocations: 299.4 kB / 362.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1471, allocations: 51.41 kB / 362.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1473, allocations: 157.7 kB / 362.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.1473, allocations: 29.7 kB / 362.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1474, allocations: 115.9 kB / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1475, allocations: 35.53 kB / 363 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.1476, allocations: 33.7 kB / 363 MB, free: 8.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1477, allocations: 322.8 kB / 363.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.1479, allocations: 51.97 kB / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.1481, allocations: 82.55 kB / 363.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1484, allocations: 144.2 kB / 363.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1485, allocations: 0 / 363.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000597/0.1491, allocations: 264 kB / 363.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.1491, allocations: 37.69 kB / 363.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1491, allocations: 3.938 kB / 363.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.1494, allocations: 76.89 kB / 364 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.1495, allocations: 19.92 kB / 364 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.1513, allocations: 1.614 MB / 365.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.1517, allocations: 55.86 kB / 365.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1517, allocations: 4 kB / 365.7 MB, free: 5.215 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.0002166/0.1519, allocations: 121.8 kB / 365.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.152, allocations: 11.91 kB / 365.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.1524, allocations: 179 kB / 366 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1524, allocations: 0 / 366 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.1524, allocations: 0 / 366 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1524, allocations: 0 / 366 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1528, allocations: 213.6 kB / 366.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1528, allocations: 0 / 366.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.1529, allocations: 11.98 kB / 366.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.153, allocations: 76.81 kB / 366.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1531, allocations: 3.938 kB / 366.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.1547, allocations: 1.613 MB / 367.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1547, allocations: 0 / 367.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1551, allocations: 260.2 kB / 368.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1552, allocations: 85.02 kB / 368.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1552, allocations: 0 / 368.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1554, allocations: 15.98 kB / 368.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.1554, allocations: 7.984 kB / 368.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1554, allocations: 12 kB / 368.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.089e-05/0.1555, allocations: 114 kB / 368.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1555, allocations: 0 / 368.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1559, allocations: 55.84 kB / 368.4 MB, free: 2.211 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.0001362/0.156, allocations: 95.25 kB / 368.5 MB, free: 2.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.1567, allocations: 322 kB / 368.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1567, allocations: 384 / 368.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.157, allocations: 182.5 kB / 369 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1573, allocations: 23.97 kB / 369 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.158, allocations: 318.3 kB / 369.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1583, allocations: 0.7161 MB / 370.1 MB, free: 484 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.1583, allocations: 8.547 kB / 370.1 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1584, allocations: 11.44 kB / 370.1 MB, free: 464 kB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1584, allocations: 0 / 370.1 MB, free: 464 kB / 302.1 MB Notification: Performance of Templates: time 0.2261/0.3845, allocations: 2.783 MB / 372.9 MB, free: 19.77 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)