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.001476/0.001476, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001985, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.89 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3832, allocations: 50.54 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003319/0.3865, allocations: 2.05 MB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.3875, allocations: 0.5649 MB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.3876, allocations: 4 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.3878, allocations: 19.78 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/0.3879, allocations: 35.66 kB / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.3882, allocations: 79.83 kB / 412 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3885, allocations: 215.4 kB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3886, allocations: 49.03 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3887, allocations: 79.77 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.3889, allocations: 91.66 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.389, allocations: 16 kB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.3891, allocations: 24 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.3891, allocations: 31.91 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.3892, allocations: 79.64 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.3895, allocations: 195.1 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3895, allocations: 0 / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3895, allocations: 0 / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3895, allocations: 0 / 412.8 MB, free: 14.03 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.0008574/0.3904, allocations: 496.5 kB / 413.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3904, allocations: 8.031 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.3906, allocations: 20.84 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3909, allocations: 212.2 kB / 413.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.391, allocations: 89.67 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.391, allocations: 16.38 kB / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3914, allocations: 129.7 kB / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3914, allocations: 0 / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3914, allocations: 8 kB / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3914, allocations: 0 / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.3917, allocations: 119.8 kB / 413.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.3926, allocations: 0.5072 MB / 414.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.393, allocations: 114.7 kB / 414.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3932, allocations: 48.83 kB / 414.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3932, allocations: 3.938 kB / 414.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3933, allocations: 46.5 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3933, allocations: 0 / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009963/0.3943, allocations: 299.4 kB / 414.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3943, allocations: 51.41 kB / 414.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3945, allocations: 161.9 kB / 415.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3946, allocations: 29.7 kB / 415.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3947, allocations: 112 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3947, allocations: 31.73 kB / 415.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.3948, allocations: 37.7 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.395, allocations: 314.8 kB / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3952, allocations: 63.95 kB / 415.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3953, allocations: 90 kB / 415.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3957, allocations: 140.2 kB / 415.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3957, allocations: 0 / 415.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005855/0.3963, allocations: 271.8 kB / 416.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.3963, allocations: 37.7 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3963, allocations: 0 / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.3966, allocations: 72.88 kB / 416.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.3967, allocations: 16.45 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.3985, allocations: 1.629 MB / 417.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3989, allocations: 48.05 kB / 417.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3989, allocations: 8 kB / 417.9 MB, free: 8.398 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.0001316/0.399, allocations: 125.7 kB / 418.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3991, allocations: 11.91 kB / 418.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.3995, allocations: 175.1 kB / 418.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3995, allocations: 4 kB / 418.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.3995, allocations: 0 / 418.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3995, allocations: 0 / 418.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3998, allocations: 221.5 kB / 418.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3998, allocations: 0 / 418.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.3999, allocations: 15.98 kB / 418.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.4001, allocations: 76.8 kB / 418.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4001, allocations: 3.938 kB / 418.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.4016, allocations: 1.61 MB / 420.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4016, allocations: 0 / 420.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.402, allocations: 252.2 kB / 420.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.4021, allocations: 89.08 kB / 420.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4021, allocations: 8 kB / 420.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4022, allocations: 11.98 kB / 420.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.4023, allocations: 11.98 kB / 420.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4023, allocations: 4 kB / 420.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.4024, allocations: 111.2 kB / 420.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4024, allocations: 0 / 420.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.4027, allocations: 44 kB / 420.7 MB, free: 5.402 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.0001317/0.4029, allocations: 107.2 kB / 420.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.4035, allocations: 326 kB / 421.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4035, allocations: 3.938 kB / 421.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.4038, allocations: 170.6 kB / 421.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.4041, allocations: 38.69 kB / 421.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.4047, allocations: 262.3 kB / 421.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4051, allocations: 0.7162 MB / 422.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.273e-05/0.4052, allocations: 8.547 kB / 422.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.4052, allocations: 11.44 kB / 422.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4052, allocations: 0 / 422.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of Templates: time 0.007692/0.4129, allocations: 2.95 MB / 425.3 MB, free: 0.7578 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)