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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008592, allocations: 87.3 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.461e-05, allocations: 4 kB / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.09944, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/0.4391, allocations: 78.9 MB / 481 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4394, allocations: 77.02 kB / 481.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009118/0.4485, allocations: 2.914 MB / 484 MB, free: 8.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4485, allocations: 0 / 484 MB, free: 8.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4486, allocations: 0 / 484 MB, free: 8.047 MB / 346.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.0006638/0.4492, allocations: 459.6 kB / 484.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4493, allocations: 12.03 kB / 484.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.4494, allocations: 47.81 kB / 484.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.4495, allocations: 24.58 kB / 484.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.4498, allocations: 208.2 kB / 484.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.4499, allocations: 106.1 kB / 484.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.4499, allocations: 11.19 kB / 484.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.4501, allocations: 105.7 kB / 485 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4501, allocations: 4 kB / 485 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4502, allocations: 3.375 kB / 485 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4502, allocations: 8 kB / 485 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.4503, allocations: 81.48 kB / 485.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.4512, allocations: 0.5301 MB / 485.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.4515, allocations: 104 kB / 485.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.4516, allocations: 37.8 kB / 485.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4516, allocations: 7.953 kB / 485.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4516, allocations: 38.75 kB / 485.8 MB, free: 6.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4517, allocations: 0 / 485.8 MB, free: 6.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004133/0.4521, allocations: 149.3 kB / 485.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.4521, allocations: 55.41 kB / 486 MB, free: 6.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4522, allocations: 137.3 kB / 486.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.4523, allocations: 36.69 kB / 486.1 MB, free: 5.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.4523, allocations: 117.4 kB / 486.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.4524, allocations: 26.09 kB / 486.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4524, allocations: 3.062 kB / 486.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.4524, allocations: 325.9 kB / 486.6 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.4525, allocations: 40.69 kB / 486.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4526, allocations: 77.88 kB / 486.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4528, allocations: 69.16 kB / 486.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4528, allocations: 0 / 486.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003261/0.4531, allocations: 208 kB / 487 MB, free: 5.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.4531, allocations: 43.03 kB / 487 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4532, allocations: 0 / 487 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.4534, allocations: 77.56 kB / 487.1 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.4535, allocations: 21.7 kB / 487.1 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.4548, allocations: 1.492 MB / 488.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.4551, allocations: 52.44 kB / 488.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.4551, allocations: 4 kB / 488.7 MB, free: 3.52 MB / 346.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.cv,dcPowerSupply.cc,dcPowerSupply.cp) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/0.4552, allocations: 116.3 kB / 488.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.4552, allocations: 7.906 kB / 488.8 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.4552, allocations: 15.98 kB / 488.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4552, allocations: 4 kB / 488.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.4553, allocations: 0 / 488.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4553, allocations: 4 kB / 488.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4554, allocations: 222.7 kB / 489 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4555, allocations: 0 / 489 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.4555, allocations: 15.98 kB / 489.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.4557, allocations: 73.84 kB / 489.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4557, allocations: 3.875 kB / 489.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.4568, allocations: 1.494 MB / 490.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4568, allocations: 0 / 490.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.4571, allocations: 254.2 kB / 490.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.4571, allocations: 85.02 kB / 491 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.4572, allocations: 0 / 491 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.4573, allocations: 27.66 kB / 491 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.4574, allocations: 11.94 kB / 491 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4574, allocations: 6.344 kB / 491 MB, free: 1.199 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.815e-05/0.4575, allocations: 111 kB / 491.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4575, allocations: 0 / 491.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000303/0.4578, allocations: 51.34 kB / 491.2 MB, free: 1.055 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005331/0.4583, allocations: 0.7907 MB / 492 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.4587, allocations: 286.9 kB / 492.2 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4588, allocations: 0 / 492.2 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.459, allocations: 165.7 kB / 492.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4593, allocations: 27.78 kB / 492.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.4598, allocations: 197.6 kB / 492.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4601, allocations: 0.7126 MB / 493.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.4601, allocations: 12.53 kB / 493.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.4602, allocations: 29.88 kB / 493.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4602, allocations: 0 / 493.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.4762, allocations: 3.843 MB / 497.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.4764, allocations: 181.4 kB / 497.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.11, allocations: 0 / 497.4 MB, free: 11.09 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)