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.001857/0.001857, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002247/0.002247, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 67.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2659, allocations: 50.55 MB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003355/0.2693, allocations: 2.042 MB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2703, allocations: 0.5688 MB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.2704, allocations: 0 / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.2706, allocations: 23.78 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.2707, allocations: 43.64 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.271, allocations: 63.91 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.2713, allocations: 219.3 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.2714, allocations: 53.03 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2716, allocations: 79.7 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2718, allocations: 87.7 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.2718, allocations: 20 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.2719, allocations: 24 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.272, allocations: 27.91 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2721, allocations: 79.66 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.2723, allocations: 190.3 kB / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2724, allocations: 0 / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2724, allocations: 0 / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2724, allocations: 4 kB / 412.4 MB, free: 13.93 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.0007816/0.2732, allocations: 492.5 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2732, allocations: 12.03 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.2733, allocations: 50.67 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2734, allocations: 20.84 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.2737, allocations: 208.2 kB / 413.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2738, allocations: 97.66 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2739, allocations: 12.38 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.2742, allocations: 136.5 kB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2742, allocations: 7.984 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2742, allocations: 4 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2742, allocations: 4 kB / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.2746, allocations: 103.8 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.2755, allocations: 0.515 MB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.2758, allocations: 114.6 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.276, allocations: 56.83 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.276, allocations: 4 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.276, allocations: 34.5 kB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.276, allocations: 0 / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008938/0.2769, allocations: 307.4 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.277, allocations: 55.41 kB / 414.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2772, allocations: 145.4 kB / 414.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2772, allocations: 33.69 kB / 414.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.2773, allocations: 119.9 kB / 414.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2773, allocations: 23.81 kB / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.2774, allocations: 33.7 kB / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2776, allocations: 326.8 kB / 415.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.2777, allocations: 51.97 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.2779, allocations: 94.11 kB / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2783, allocations: 144.2 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2783, allocations: 0 / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006298/0.2789, allocations: 267.8 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.279, allocations: 37.69 kB / 415.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.279, allocations: 480 / 415.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.2792, allocations: 80.88 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2793, allocations: 12 kB / 415.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.2813, allocations: 1.625 MB / 417.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.2816, allocations: 48.02 kB / 417.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.2817, allocations: 7.984 kB / 417.6 MB, free: 8.234 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.0001228/0.2818, allocations: 125.8 kB / 417.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2818, allocations: 19.84 kB / 417.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.2823, allocations: 167.1 kB / 417.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2823, allocations: 0 / 417.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2823, allocations: 4 kB / 417.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2823, allocations: 3.984 kB / 417.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.2826, allocations: 213.5 kB / 418.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2826, allocations: 0 / 418.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.2827, allocations: 11.98 kB / 418.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.2829, allocations: 80.75 kB / 418.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2829, allocations: 4 kB / 418.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.2846, allocations: 1.602 MB / 419.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2846, allocations: 0 / 419.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.285, allocations: 260.3 kB / 420 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.2851, allocations: 89.02 kB / 420.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.2851, allocations: 3.984 kB / 420.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2853, allocations: 15.98 kB / 420.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.2853, allocations: 7.984 kB / 420.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2853, allocations: 4 kB / 420.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.2854, allocations: 118.8 kB / 420.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2854, allocations: 4 kB / 420.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.2858, allocations: 48.12 kB / 420.3 MB, free: 5.234 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.0007749/0.2866, allocations: 0.7912 MB / 421.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.2873, allocations: 313.9 kB / 421.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2873, allocations: 0 / 421.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.2876, allocations: 178.6 kB / 421.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.288, allocations: 38.44 kB / 421.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.2908, allocations: 1.964 MB / 423.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2912, allocations: 0.7122 MB / 424.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.2913, allocations: 8.547 kB / 424.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.2914, allocations: 39.89 kB / 424.4 MB, free: 1 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2914, allocations: 0 / 424.4 MB, free: 1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.323, allocations: 4.477 MB / 428.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.73, allocations: 12.8 kB / 428.9 MB, free: 12.66 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)