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.001014/0.001014, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 100.2 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.745e-05, allocations: 8 kB / 343.8 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09901, allocations: 51.47 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.424, allocations: 78.24 MB / 473.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.4242, allocations: 66.45 kB / 473.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00844/0.4327, allocations: 2.89 MB / 476.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4327, allocations: 0 / 476.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.4328, allocations: 4 kB / 476.5 MB, free: 11.59 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.0005009/0.4333, allocations: 471.6 kB / 476.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4333, allocations: 12.03 kB / 476.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.4335, allocations: 21.12 kB / 477 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.4337, allocations: 209 kB / 477.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.4337, allocations: 94.73 kB / 477.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.4338, allocations: 11.61 kB / 477.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001616/0.434, allocations: 76.92 kB / 477.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.4341, allocations: 96.23 kB / 477.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4341, allocations: 0 / 477.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4342, allocations: 1.359 kB / 477.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4342, allocations: 4 kB / 477.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.4349, allocations: 0.4964 MB / 477.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4352, allocations: 104.9 kB / 478 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.4352, allocations: 32.36 kB / 478.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4353, allocations: 4 kB / 478.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4353, allocations: 34.38 kB / 478.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.4353, allocations: 0 / 478.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003595/0.4357, allocations: 154.4 kB / 478.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.312e-05/0.4357, allocations: 51.41 kB / 478.3 MB, free: 9.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.4358, allocations: 122.5 kB / 478.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4358, allocations: 29.7 kB / 478.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.4359, allocations: 126 kB / 478.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.4359, allocations: 23.62 kB / 478.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.4359, allocations: 4 kB / 478.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.4359, allocations: 326.5 kB / 478.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.436, allocations: 39.19 kB / 479 MB, free: 9.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.4361, allocations: 61.78 kB / 479 MB, free: 9.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.4362, allocations: 37.58 kB / 479.1 MB, free: 9.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4362, allocations: 0 / 479.1 MB, free: 9.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002673/0.4365, allocations: 177.7 kB / 479.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.4365, allocations: 32.8 kB / 479.3 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4365, allocations: 7.938 kB / 479.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.4367, allocations: 69.81 kB / 479.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.4368, allocations: 22.7 kB / 479.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.4379, allocations: 1.511 MB / 480.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.4382, allocations: 45.67 kB / 480.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.4382, allocations: 8 kB / 480.9 MB, free: 7.504 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.142e-05/0.4383, allocations: 117.5 kB / 481 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002825/0.4386, allocations: 149.8 kB / 481.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.4386, allocations: 11.86 kB / 481.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.4387, allocations: 16.69 kB / 481.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4387, allocations: 0 / 481.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.4387, allocations: 0 / 481.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4387, allocations: 0 / 481.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.4388, allocations: 191.7 kB / 481.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4388, allocations: 0 / 481.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.4389, allocations: 12.84 kB / 481.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.4391, allocations: 70.69 kB / 481.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4391, allocations: 11.95 kB / 481.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009133/0.44, allocations: 1.421 MB / 482.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.44, allocations: 4.062 kB / 482.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.4403, allocations: 253.7 kB / 483.2 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.4403, allocations: 88.95 kB / 483.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4404, allocations: 0 / 483.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.4405, allocations: 21.86 kB / 483.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.4406, allocations: 8.219 kB / 483.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.4406, allocations: 7.688 kB / 483.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.281e-05/0.4407, allocations: 98.88 kB / 483.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4407, allocations: 4 kB / 483.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.441, allocations: 40 kB / 483.4 MB, free: 5.176 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.0004584/0.4415, allocations: 0.7823 MB / 484.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.4418, allocations: 276.2 kB / 484.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4419, allocations: 0 / 484.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.442, allocations: 148.8 kB / 484.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.4423, allocations: 28.39 kB / 484.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.4428, allocations: 196.7 kB / 484.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.443, allocations: 0.7171 MB / 485.6 MB, free: 19.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.443, allocations: 1.406 kB / 485.6 MB, free: 19.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.4431, allocations: 31.36 kB / 485.6 MB, free: 19.09 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4431, allocations: 0 / 485.6 MB, free: 19.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.4637, allocations: 3.201 MB / 488.8 MB, free: 16.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.4639, allocations: 138.2 kB / 488.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.044, allocations: 2.75 kB / 488.9 MB, free: 15.93 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)