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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002229/0.002228, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009857/0.0009858, allocations: 98 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009243/0.0009243, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2478, allocations: 50.46 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003457/0.2513, allocations: 2.11 MB / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2525, allocations: 0.5825 MB / 409.8 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2527, allocations: 0 / 409.8 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.2528, allocations: 18.5 kB / 409.8 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.253, allocations: 31.72 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2532, allocations: 55.92 kB / 409.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.2534, allocations: 195.3 kB / 410 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.2536, allocations: 41.09 kB / 410.1 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2537, allocations: 75.69 kB / 410.2 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.254, allocations: 79.72 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.254, allocations: 12 kB / 410.2 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.2541, allocations: 12 kB / 410.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.2541, allocations: 31.91 kB / 410.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.2542, allocations: 75.66 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2544, allocations: 180.9 kB / 410.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2544, allocations: 0 / 410.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2544, allocations: 0 / 410.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.2544, allocations: 0 / 410.5 MB, free: 24.3 MB / 298.7 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.0007659/0.2552, allocations: 488.7 kB / 411 MB, free: 23.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.2552, allocations: 8.031 kB / 411 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.2554, allocations: 28.75 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2557, allocations: 212.1 kB / 411.3 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.39e-05/0.2558, allocations: 93.66 kB / 411.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.2559, allocations: 12.38 kB / 411.4 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2562, allocations: 131.8 kB / 411.5 MB, free: 23.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2562, allocations: 3.984 kB / 411.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2562, allocations: 8 kB / 411.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.2562, allocations: 0 / 411.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.2566, allocations: 115.9 kB / 411.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.2574, allocations: 0.5071 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.2577, allocations: 106.7 kB / 412.2 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2578, allocations: 48.84 kB / 412.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2579, allocations: 7.922 kB / 412.3 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.2579, allocations: 42.5 kB / 412.3 MB, free: 22.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.2579, allocations: 0 / 412.3 MB, free: 22.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007875/0.2587, allocations: 311.2 kB / 412.6 MB, free: 22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.2587, allocations: 51.41 kB / 412.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.2588, allocations: 150 kB / 412.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2589, allocations: 29.7 kB / 412.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.2589, allocations: 119.9 kB / 413 MB, free: 21.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.259, allocations: 31.55 kB / 413 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.259, allocations: 33.7 kB / 413 MB, free: 21.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.2591, allocations: 322.8 kB / 413.4 MB, free: 21.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2592, allocations: 51.97 kB / 413.4 MB, free: 21.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.2594, allocations: 94.53 kB / 413.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2596, allocations: 140.2 kB / 413.6 MB, free: 20.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2597, allocations: 0 / 413.6 MB, free: 20.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004966/0.2602, allocations: 262.8 kB / 413.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.2602, allocations: 37.69 kB / 413.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2602, allocations: 4 kB / 413.9 MB, free: 20.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.2605, allocations: 88.8 kB / 414 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.2605, allocations: 8 kB / 414 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.2618, allocations: 1.496 MB / 415.5 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.2621, allocations: 47.92 kB / 415.6 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2621, allocations: 11.98 kB / 415.6 MB, free: 18.81 MB / 298.7 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 8.31e-05/0.2622, allocations: 131.4 kB / 415.7 MB, free: 18.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.2622, allocations: 11.81 kB / 415.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.2626, allocations: 163.1 kB / 415.9 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2626, allocations: 4.562 kB / 415.9 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2626, allocations: 3.938 kB / 415.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2626, allocations: 0 / 415.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2628, allocations: 217.8 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2628, allocations: 4 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.2629, allocations: 11.98 kB / 416.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.263, allocations: 84.67 kB / 416.2 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2631, allocations: 4 kB / 416.2 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009422/0.264, allocations: 1.483 MB / 417.7 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.264, allocations: 3.938 kB / 417.7 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.2646, allocations: 0.8575 MB / 418.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.2646, allocations: 84.95 kB / 418.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2646, allocations: 4 kB / 418.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2648, allocations: 20.17 kB / 418.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.2648, allocations: 11.97 kB / 418.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.2648, allocations: 8 kB / 418.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.2649, allocations: 109.9 kB / 418.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2649, allocations: 0 / 418.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000366/0.2653, allocations: 47.94 kB / 418.8 MB, free: 15.28 MB / 298.7 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.000106/0.2654, allocations: 107.2 kB / 418.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.2659, allocations: 317.8 kB / 419.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2659, allocations: 0 / 419.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.2661, allocations: 166.7 kB / 419.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2665, allocations: 34.98 kB / 419.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.267, allocations: 440 kB / 419.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2671, allocations: 0.7125 MB / 420.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.2672, allocations: 12.55 kB / 420.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.2672, allocations: 11.44 kB / 420.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2672, allocations: 0 / 420.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.00449/0.2717, allocations: 2.725 MB / 423.3 MB, free: 10.7 MB / 298.7 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)