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.001328/0.001328, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247.5 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 62.41 kB / 307.6 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09877, allocations: 50.54 MB / 358.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003722/0.1025, allocations: 2.041 MB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1037, allocations: 0.5805 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.1038, allocations: 0 / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.104, allocations: 23.8 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.726e-05/0.1041, allocations: 35.69 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1044, allocations: 75.83 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.1047, allocations: 219.3 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1048, allocations: 45.05 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.105, allocations: 87.64 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1052, allocations: 87.7 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.1053, allocations: 16 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.1053, allocations: 20 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1054, allocations: 35.91 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.1055, allocations: 75.66 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1058, allocations: 183.7 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1058, allocations: 4 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1058, allocations: 4 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1058, allocations: 0 / 361.7 MB, free: 10.51 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.0007952/0.1066, allocations: 492.6 kB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1067, allocations: 12.03 kB / 362.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1068, allocations: 20.75 kB / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1071, allocations: 208.1 kB / 362.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.871e-05/0.1072, allocations: 97.67 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1072, allocations: 12.38 kB / 362.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.1076, allocations: 136.8 kB / 362.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1076, allocations: 0 / 362.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1076, allocations: 4 kB / 362.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1077, allocations: 4 kB / 362.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.108, allocations: 107.9 kB / 362.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009354/0.1089, allocations: 0.5109 MB / 363.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1093, allocations: 122.7 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1094, allocations: 40.84 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1095, allocations: 4 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1095, allocations: 46.42 kB / 363.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.1096, allocations: 0 / 363.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000934/0.1105, allocations: 303.3 kB / 363.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1105, allocations: 55.41 kB / 363.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1107, allocations: 145.4 kB / 364 MB, free: 7.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1107, allocations: 29.7 kB / 364 MB, free: 7.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.1108, allocations: 116.2 kB / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1109, allocations: 31.56 kB / 364.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.111, allocations: 33.7 kB / 364.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1111, allocations: 322.8 kB / 364.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.1113, allocations: 59.91 kB / 364.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.1116, allocations: 82.53 kB / 364.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.1119, allocations: 152.2 kB / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1119, allocations: 0 / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006339/0.1125, allocations: 260 kB / 365.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.1126, allocations: 37.69 kB / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1126, allocations: 4 kB / 365.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.1129, allocations: 76.7 kB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.113, allocations: 20.02 kB / 365.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.1149, allocations: 1.616 MB / 366.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.1152, allocations: 51.89 kB / 366.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1153, allocations: 8 kB / 366.9 MB, free: 4.891 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.0001485/0.1154, allocations: 125.8 kB / 367 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.1155, allocations: 11.91 kB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.1159, allocations: 163.1 kB / 367.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1159, allocations: 0 / 367.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1159, allocations: 8.188 kB / 367.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1159, allocations: 0 / 367.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1162, allocations: 221.6 kB / 367.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1162, allocations: 0 / 367.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.1163, allocations: 8 kB / 367.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.1165, allocations: 76.75 kB / 367.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1165, allocations: 11.94 kB / 367.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.1182, allocations: 1.602 MB / 369.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.1182, allocations: 7.969 kB / 369.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.1187, allocations: 252.6 kB / 369.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.1187, allocations: 89.02 kB / 369.4 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1188, allocations: 7.938 kB / 369.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1189, allocations: 11.98 kB / 369.4 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.119, allocations: 19.97 kB / 369.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.119, allocations: 0 / 369.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.78e-05/0.1191, allocations: 114.6 kB / 369.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1191, allocations: 0 / 369.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.1195, allocations: 51.91 kB / 369.6 MB, free: 1.887 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.0001328/0.1196, allocations: 99.25 kB / 369.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.1203, allocations: 310 kB / 370 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1204, allocations: 3.938 kB / 370 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.1207, allocations: 186.6 kB / 370.2 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.121, allocations: 37.34 kB / 370.2 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.1216, allocations: 292.2 kB / 370.5 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.122, allocations: 0.7122 MB / 371.2 MB, free: 164 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.122, allocations: 15.44 kB / 371.3 MB, free: 148 kB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.122, allocations: 0 / 371.3 MB, free: 148 kB / 302.1 MB Notification: Performance of Templates: time 0.1429/0.2649, allocations: 2.458 MB / 373.7 MB, free: 19.54 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)