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.001271/0.001271, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4025, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00394/0.4065, allocations: 2.043 MB / 411.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.4079, allocations: 0.5688 MB / 411.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.408, allocations: 4 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.4083, allocations: 19.78 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.4084, allocations: 35.7 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.4088, allocations: 71.84 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.4092, allocations: 223.3 kB / 412.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.4094, allocations: 53.02 kB / 412.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.4096, allocations: 87.7 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.4099, allocations: 83.72 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.4099, allocations: 20 kB / 412.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.41, allocations: 23.94 kB / 412.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.4101, allocations: 35.89 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.4102, allocations: 83.64 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.4105, allocations: 184.5 kB / 412.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4106, allocations: 0 / 412.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4106, allocations: 0 / 412.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4106, allocations: 0 / 412.8 MB, free: 14.08 MB / 334.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.0009846/0.4116, allocations: 492.6 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.4116, allocations: 8.031 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.4119, allocations: 20.78 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.4124, allocations: 222.1 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4125, allocations: 93.67 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4125, allocations: 16.38 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.4129, allocations: 132.9 kB / 413.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4129, allocations: 0 / 413.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.4129, allocations: 8 kB / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.413, allocations: 0 / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.4133, allocations: 115.8 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.4143, allocations: 0.5032 MB / 414.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.4147, allocations: 114.7 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.4148, allocations: 52.77 kB / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4148, allocations: 4 kB / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.4149, allocations: 42.5 kB / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4149, allocations: 0 / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009155/0.4158, allocations: 299.4 kB / 414.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.4159, allocations: 55.41 kB / 414.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.416, allocations: 153.9 kB / 415.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.4161, allocations: 29.7 kB / 415.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.4162, allocations: 115.9 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4162, allocations: 27.55 kB / 415.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.4163, allocations: 37.7 kB / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4164, allocations: 315.2 kB / 415.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.4166, allocations: 67.95 kB / 415.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.4168, allocations: 74.56 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.4171, allocations: 144.2 kB / 415.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4171, allocations: 7.938 kB / 415.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006324/0.4178, allocations: 263.8 kB / 416.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.4178, allocations: 37.7 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4178, allocations: 0 / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.4181, allocations: 76.86 kB / 416.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.4182, allocations: 15.98 kB / 416.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.42, allocations: 1.621 MB / 417.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.4204, allocations: 47.95 kB / 417.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4204, allocations: 8 kB / 417.9 MB, free: 8.461 MB / 334.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.00014/0.4205, allocations: 125.8 kB / 418.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.4206, allocations: 11.91 kB / 418.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.421, allocations: 179 kB / 418.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.421, allocations: 0 / 418.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/0.421, allocations: 0 / 418.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4211, allocations: 0 / 418.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.4213, allocations: 221.5 kB / 418.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4213, allocations: 4 kB / 418.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.4214, allocations: 11.98 kB / 418.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.4216, allocations: 76.8 kB / 418.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4216, allocations: 3.938 kB / 418.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.4231, allocations: 1.606 MB / 420.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4232, allocations: 0 / 420.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.4236, allocations: 260.3 kB / 420.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.4237, allocations: 93.05 kB / 420.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.4237, allocations: 3.938 kB / 420.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.4239, allocations: 11.98 kB / 420.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.4239, allocations: 11.98 kB / 420.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4239, allocations: 4 kB / 420.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.132e-05/0.424, allocations: 114.8 kB / 420.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4241, allocations: 0 / 420.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.4244, allocations: 48 kB / 420.7 MB, free: 5.457 MB / 334.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.000158/0.4245, allocations: 103.2 kB / 420.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007612/0.4253, allocations: 317.8 kB / 421.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4253, allocations: 0 / 421.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.4256, allocations: 178.7 kB / 421.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.426, allocations: 27.97 kB / 421.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.4266, allocations: 270 kB / 421.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.427, allocations: 0.7161 MB / 422.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.427, allocations: 4.562 kB / 422.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.4271, allocations: 15.44 kB / 422.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4271, allocations: 0 / 422.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of Templates: time 0.006724/0.4338, allocations: 2.954 MB / 425.3 MB, free: 0.8164 MB / 334.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)