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.0008916/0.0008915, allocations: 95.3 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 206.6 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002489, allocations: 8 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09607, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002206/0.09832, allocations: 1.763 MB / 361.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.09934, allocations: 0.5728 MB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.09946, allocations: 4 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.353e-05/0.09957, allocations: 11.86 kB / 362.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.09968, allocations: 31.77 kB / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.09991, allocations: 55.94 kB / 362.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1002, allocations: 207.3 kB / 362.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1003, allocations: 37.06 kB / 362.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1004, allocations: 71.7 kB / 362.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.1006, allocations: 79.7 kB / 362.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1007, allocations: 8 kB / 362.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.1007, allocations: 16 kB / 362.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.1008, allocations: 23.91 kB / 362.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/0.1009, allocations: 93.36 kB / 362.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.101, allocations: 135.9 kB / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.101, allocations: 0 / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1011, allocations: 0 / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1011, allocations: 3.938 kB / 363 MB, free: 10.19 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.0006532/0.1017, allocations: 472.7 kB / 363.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1018, allocations: 8.031 kB / 363.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1019, allocations: 20.75 kB / 363.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1021, allocations: 212.2 kB / 363.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.1022, allocations: 93.61 kB / 363.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.1023, allocations: 12.38 kB / 363.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.1026, allocations: 148.8 kB / 364 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1026, allocations: 0 / 364 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1026, allocations: 8 kB / 364 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1026, allocations: 3.984 kB / 364 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1029, allocations: 115.9 kB / 364.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.1037, allocations: 0.5109 MB / 364.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1041, allocations: 122.6 kB / 364.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1042, allocations: 52.84 kB / 364.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1043, allocations: 8 kB / 364.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1043, allocations: 42.48 kB / 364.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1043, allocations: 0 / 364.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008493/0.1052, allocations: 327.3 kB / 365.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1052, allocations: 51.41 kB / 365.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1053, allocations: 144.5 kB / 365.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1054, allocations: 29.7 kB / 365.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.1054, allocations: 127.8 kB / 365.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1055, allocations: 23.66 kB / 365.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1055, allocations: 21.7 kB / 365.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1056, allocations: 318.8 kB / 365.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.1058, allocations: 67.95 kB / 365.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.106, allocations: 86.48 kB / 366 MB, free: 6.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1063, allocations: 156.3 kB / 366.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1063, allocations: 0 / 366.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006043/0.1069, allocations: 279.7 kB / 366.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.107, allocations: 37.77 kB / 366.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.107, allocations: 4 kB / 366.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.1072, allocations: 68.81 kB / 366.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.1073, allocations: 23.98 kB / 366.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.1088, allocations: 1.494 MB / 368 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.1092, allocations: 67.86 kB / 368.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1092, allocations: 4 kB / 368.1 MB, free: 4.641 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.0001116/0.1093, allocations: 129.8 kB / 368.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1094, allocations: 11.84 kB / 368.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.1098, allocations: 171.7 kB / 368.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1098, allocations: 4 kB / 368.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1098, allocations: 8.062 kB / 368.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1098, allocations: 0 / 368.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.11, allocations: 225.7 kB / 368.6 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.11, allocations: 3.938 kB / 368.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.1101, allocations: 11.98 kB / 368.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.1103, allocations: 76.81 kB / 368.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1103, allocations: 7.984 kB / 368.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1116, allocations: 1.491 MB / 370.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1116, allocations: 4.031 kB / 370.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.112, allocations: 260.3 kB / 370.5 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.1121, allocations: 81.02 kB / 370.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.1121, allocations: 12.12 kB / 370.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1123, allocations: 19.98 kB / 370.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.1123, allocations: 15.97 kB / 370.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.1123, allocations: 7.938 kB / 370.6 MB, free: 1.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.71e-05/0.1124, allocations: 110.8 kB / 370.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1124, allocations: 0 / 370.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1127, allocations: 47.91 kB / 370.8 MB, free: 1.727 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.000119/0.1128, allocations: 99.25 kB / 370.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.1135, allocations: 326 kB / 371.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1135, allocations: 0 / 371.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1138, allocations: 182.5 kB / 371.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1141, allocations: 27.98 kB / 371.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.1147, allocations: 362.7 kB / 371.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1506/0.2653, allocations: 0.7014 MB / 372.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.2654, allocations: 15.47 kB / 372.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2654, allocations: 3.281 kB / 372.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006804/0.2722, allocations: 2.44 MB / 374.9 MB, free: 18.73 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)