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.001236/0.001236, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001177, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.66 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 50.55 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003561/0.1412, allocations: 2.041 MB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1425, allocations: 0.5805 MB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1426, allocations: 8 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1428, allocations: 11.86 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.1429, allocations: 39.64 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1432, allocations: 75.84 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.1435, allocations: 215.3 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1437, allocations: 53.03 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1438, allocations: 75.77 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.144, allocations: 83.72 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1441, allocations: 20 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.1442, allocations: 27.92 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1442, allocations: 31.91 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.1443, allocations: 79.64 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1446, allocations: 187.7 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1446, allocations: 4 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1446, allocations: 0 / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1446, allocations: 0 / 361 MB, free: 10.58 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.0008097/0.1454, allocations: 496.5 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1455, allocations: 8.031 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1456, allocations: 20.75 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1459, allocations: 216.1 kB / 361.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.146, allocations: 93.67 kB / 361.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1461, allocations: 16.38 kB / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.1464, allocations: 125.6 kB / 361.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1464, allocations: 0 / 361.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1464, allocations: 8 kB / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1464, allocations: 0 / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.1467, allocations: 111.9 kB / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.1476, allocations: 0.507 MB / 362.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.1479, allocations: 118.7 kB / 362.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1481, allocations: 48.83 kB / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1481, allocations: 0 / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1481, allocations: 46.44 kB / 362.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1481, allocations: 0 / 362.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000841/0.149, allocations: 299.4 kB / 363.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1491, allocations: 55.34 kB / 363.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1492, allocations: 146.4 kB / 363.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1492, allocations: 29.7 kB / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1493, allocations: 119.9 kB / 363.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1494, allocations: 31.55 kB / 363.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.1494, allocations: 29.72 kB / 363.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1496, allocations: 322.8 kB / 363.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1497, allocations: 55.97 kB / 363.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1499, allocations: 82.53 kB / 363.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1502, allocations: 144.2 kB / 364.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1502, allocations: 0 / 364.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005893/0.1508, allocations: 263.9 kB / 364.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.1509, allocations: 42.11 kB / 364.4 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1509, allocations: 0 / 364.4 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/0.1512, allocations: 68.81 kB / 364.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.1513, allocations: 23.98 kB / 364.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.1529, allocations: 1.632 MB / 366.1 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.1533, allocations: 51.86 kB / 366.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1533, allocations: 8 kB / 366.1 MB, free: 4.957 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.0001379/0.1534, allocations: 121.8 kB / 366.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1535, allocations: 7.906 kB / 366.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.1539, allocations: 179 kB / 366.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1539, allocations: 4 kB / 366.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1539, allocations: 0 / 366.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.154, allocations: 0 / 366.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1542, allocations: 217.6 kB / 366.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1542, allocations: 0 / 366.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.1543, allocations: 11.98 kB / 366.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/0.1544, allocations: 72.81 kB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1544, allocations: 3.938 kB / 366.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.1558, allocations: 1.613 MB / 368.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1559, allocations: 0 / 368.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.1562, allocations: 260.2 kB / 368.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1563, allocations: 85.02 kB / 368.7 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1563, allocations: 4 kB / 368.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1565, allocations: 11.98 kB / 368.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.1566, allocations: 11.98 kB / 368.7 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.1566, allocations: 4 kB / 368.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.1566, allocations: 118.7 kB / 368.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1567, allocations: 4.188 kB / 368.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.157, allocations: 47.91 kB / 368.9 MB, free: 1.957 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.0001357/0.1571, allocations: 107.2 kB / 369 MB, free: 1.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.1577, allocations: 313.9 kB / 369.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1577, allocations: 0 / 369.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.158, allocations: 178.7 kB / 369.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1583, allocations: 28.03 kB / 369.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1588, allocations: 270.4 kB / 369.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1591, allocations: 0.7122 MB / 370.5 MB, free: 268 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.1592, allocations: 8.547 kB / 370.5 MB, free: 260 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1592, allocations: 15.44 kB / 370.5 MB, free: 244 kB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1592, allocations: 0 / 370.5 MB, free: 244 kB / 302.1 MB Notification: Performance of Templates: time 0.1902/0.3495, allocations: 2.919 MB / 373.4 MB, free: 19.65 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)