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.0009563/0.0009562, allocations: 96.05 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008197/0.0008197, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.7 MB / 246.8 MB, free: 11.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002026/0.0002026, allocations: 8 kB / 307.8 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07805, allocations: 51.51 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.001983/0.08007, allocations: 1.763 MB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.08093, allocations: 0.5729 MB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.08101, allocations: 4 kB / 361.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.621e-05/0.0811, allocations: 19.84 kB / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.08119, allocations: 23.78 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.08138, allocations: 67.86 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.08157, allocations: 191.4 kB / 362 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.08169, allocations: 45.03 kB / 362 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.08178, allocations: 75.69 kB / 362.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.08194, allocations: 71.73 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.08198, allocations: 12 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.08203, allocations: 12 kB / 362.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.08206, allocations: 27.84 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.08215, allocations: 101.3 kB / 362.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.08234, allocations: 175.6 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.08236, allocations: 4 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08236, allocations: 0 / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.08237, allocations: 0 / 362.5 MB, free: 10.02 MB / 302.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.0005779/0.08295, allocations: 464.8 kB / 363 MB, free: 9.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.083, allocations: 12.03 kB / 363 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.08306, allocations: 42.75 kB / 363 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.08316, allocations: 28.73 kB / 363 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.08338, allocations: 212 kB / 363.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-05/0.08346, allocations: 93.66 kB / 363.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.08349, allocations: 12.38 kB / 363.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.08378, allocations: 140.9 kB / 363.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.08379, allocations: 0 / 363.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.08381, allocations: 4 kB / 363.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.08382, allocations: 4 kB / 363.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.08412, allocations: 123.9 kB / 363.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.08488, allocations: 0.5071 MB / 364.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.08519, allocations: 118.7 kB / 364.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.08534, allocations: 60.77 kB / 364.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.08537, allocations: 4 kB / 364.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.0854, allocations: 38.5 kB / 364.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.08541, allocations: 3.938 kB / 364.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007852/0.0862, allocations: 319.4 kB / 364.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.08623, allocations: 55.34 kB / 364.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.08635, allocations: 149.4 kB / 364.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.08639, allocations: 33.7 kB / 364.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.08646, allocations: 119.8 kB / 365 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.08649, allocations: 27.64 kB / 365 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.08654, allocations: 21.7 kB / 365.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.08663, allocations: 322.8 kB / 365.4 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.08681, allocations: 59.97 kB / 365.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.08699, allocations: 94.03 kB / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.0873, allocations: 156.2 kB / 365.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.08731, allocations: 0 / 365.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005664/0.08788, allocations: 267.8 kB / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.08792, allocations: 41.69 kB / 366 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.08794, allocations: 0 / 366 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.08814, allocations: 76.75 kB / 366.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.08824, allocations: 23.98 kB / 366.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.08958, allocations: 1.495 MB / 367.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.08993, allocations: 63.89 kB / 367.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.08996, allocations: 8 kB / 367.6 MB, free: 4.418 MB / 302.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 8.994e-05/0.09005, allocations: 126.9 kB / 367.8 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.09009, allocations: 8.375 kB / 367.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.09048, allocations: 191 kB / 368 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09049, allocations: 0 / 368 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.0905, allocations: 3.938 kB / 368 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.09051, allocations: 0 / 368 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.09071, allocations: 213.5 kB / 368.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.09072, allocations: 0 / 368.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.0908, allocations: 15.98 kB / 368.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.09095, allocations: 80.81 kB / 368.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.09097, allocations: 0 / 368.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.09219, allocations: 1.495 MB / 369.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0922, allocations: 0 / 369.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.09259, allocations: 268.3 kB / 370 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.09264, allocations: 96.84 kB / 370.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.09266, allocations: 0 / 370.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.0928, allocations: 19.98 kB / 370.1 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.09287, allocations: 15.98 kB / 370.2 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.09288, allocations: 0 / 370.2 MB, free: 1.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.086e-05/0.09295, allocations: 110.8 kB / 370.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09295, allocations: 0 / 370.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.09323, allocations: 47.98 kB / 370.3 MB, free: 1.512 MB / 302.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.0006206/0.09385, allocations: 0.799 MB / 371.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.09441, allocations: 338.2 kB / 371.4 MB, free: 336 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09443, allocations: 0 / 371.4 MB, free: 336 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.0947, allocations: 174.7 kB / 371.6 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.09501, allocations: 23.98 kB / 371.6 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/0.2275, allocations: 2.036 MB / 373.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2276, allocations: 0.7068 MB / 374.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.2277, allocations: 9.156 kB / 374.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.2278, allocations: 32.02 kB / 374.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2278, allocations: 0 / 374.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.2419, allocations: 3.92 MB / 378.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001182/0.242, allocations: 227.5 kB / 378.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.003, allocations: 1.062 kB / 378.6 MB, free: 16.72 MB / 302.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)