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: "" <> 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/ModelicaServices trunk/package.mo): time 0.00162/0.00162, allocations: 121.2 kB / 17.79 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.001811/0.001811, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 63.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2646, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003372/0.2681, allocations: 2.042 MB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2692, allocations: 0.5727 MB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2693, allocations: 0 / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2695, allocations: 23.78 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2696, allocations: 35.72 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.2699, allocations: 67.83 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.2702, allocations: 211.3 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2704, allocations: 52.53 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.2706, allocations: 99.67 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.2708, allocations: 83.72 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.2708, allocations: 16 kB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.681e-05/0.2709, allocations: 24 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.271, allocations: 35.91 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.2711, allocations: 75.66 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2714, allocations: 193.1 kB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2714, allocations: 0 / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2714, allocations: 0 / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2714, allocations: 3.938 kB / 412.3 MB, free: 14 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.000815/0.2723, allocations: 488.7 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.2723, allocations: 8.031 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.2724, allocations: 46.73 kB / 412.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2725, allocations: 20.78 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.2729, allocations: 216 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.273, allocations: 93.66 kB / 413.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2731, allocations: 20.38 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.2734, allocations: 128.5 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2734, allocations: 0 / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.2734, allocations: 8 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2734, allocations: 0 / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.2737, allocations: 111.8 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.2746, allocations: 0.5071 MB / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.2749, allocations: 118.6 kB / 414 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2751, allocations: 52.83 kB / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2751, allocations: 0 / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2752, allocations: 38.5 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.2752, allocations: 0 / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008012/0.276, allocations: 307.4 kB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2761, allocations: 51.41 kB / 414.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2762, allocations: 149.7 kB / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2763, allocations: 29.7 kB / 414.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.2764, allocations: 119.8 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.2764, allocations: 27.56 kB / 414.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.2765, allocations: 37.7 kB / 414.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2766, allocations: 318.8 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2768, allocations: 63.97 kB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.277, allocations: 78.55 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.2773, allocations: 144.2 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2773, allocations: 4 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005868/0.2779, allocations: 264.2 kB / 415.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.278, allocations: 41.69 kB / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.278, allocations: 0 / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.2783, allocations: 72.97 kB / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.2784, allocations: 15.94 kB / 415.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.2799, allocations: 1.617 MB / 417.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.2803, allocations: 51.98 kB / 417.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.2803, allocations: 15.97 kB / 417.5 MB, free: 8.328 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.0001345/0.2805, allocations: 121.8 kB / 417.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.2805, allocations: 23.73 kB / 417.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.2809, allocations: 167.1 kB / 417.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2809, allocations: 0 / 417.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.2809, allocations: 0 / 417.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2809, allocations: 3.984 kB / 417.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.2812, allocations: 217.5 kB / 418 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2812, allocations: 0 / 418 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.2812, allocations: 15.98 kB / 418 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.2814, allocations: 72.77 kB / 418.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2814, allocations: 0 / 418.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.2828, allocations: 1.614 MB / 419.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2828, allocations: 0 / 419.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.2832, allocations: 260.1 kB / 420 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.2833, allocations: 88.95 kB / 420.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2833, allocations: 7.984 kB / 420.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2834, allocations: 11.98 kB / 420.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.2835, allocations: 11.98 kB / 420.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.2835, allocations: 192 / 420.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.2836, allocations: 111.2 kB / 420.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2836, allocations: 7.938 kB / 420.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000291/0.2839, allocations: 44 kB / 420.2 MB, free: 5.328 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.0006238/0.2845, allocations: 0.7834 MB / 421 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.2851, allocations: 325.9 kB / 421.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2851, allocations: 0 / 421.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.2854, allocations: 178.5 kB / 421.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2857, allocations: 38.64 kB / 421.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.2881, allocations: 1.954 MB / 423.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2884, allocations: 0.7084 MB / 424.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.2885, allocations: 4.562 kB / 424.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.2886, allocations: 35.53 kB / 424.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2886, allocations: 0 / 424.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.3128, allocations: 4.498 MB / 428.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.15, allocations: 12.8 kB / 428.8 MB, free: 12.76 MB / 350.1 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/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)