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.001788/0.001788, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002075/0.002075, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 65.05 kB / 306.6 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00432/0.1207, allocations: 2.121 MB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.122, allocations: 0.565 MB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1222, allocations: 4 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.1224, allocations: 11.86 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1225, allocations: 31.77 kB / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1229, allocations: 59.88 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.1233, allocations: 211.4 kB / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1234, allocations: 57.02 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1236, allocations: 75.72 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1239, allocations: 87.72 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.124, allocations: 16 kB / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.1241, allocations: 20 kB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.1241, allocations: 35.91 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1242, allocations: 91.56 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1245, allocations: 187.6 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.1246, allocations: 4 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1246, allocations: 0 / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1246, allocations: 0 / 360.6 MB, free: 10.73 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.0009963/0.1256, allocations: 484.6 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.1257, allocations: 16.03 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.1258, allocations: 46.73 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.126, allocations: 20.75 kB / 361.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1263, allocations: 204.1 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.1264, allocations: 97.66 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1265, allocations: 12.38 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.1268, allocations: 132.7 kB / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1269, allocations: 0 / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.1269, allocations: 4 kB / 361.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1269, allocations: 11.98 kB / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.1273, allocations: 107.9 kB / 361.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1283, allocations: 0.507 MB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.1287, allocations: 122.6 kB / 362.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1288, allocations: 52.7 kB / 362.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1289, allocations: 8 kB / 362.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1289, allocations: 38.5 kB / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1289, allocations: 0 / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009344/0.1299, allocations: 295.4 kB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1299, allocations: 59.41 kB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1301, allocations: 153.4 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1301, allocations: 25.7 kB / 363 MB, free: 8.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.1302, allocations: 119.8 kB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1302, allocations: 23.66 kB / 363.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.1303, allocations: 33.7 kB / 363.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1305, allocations: 322.8 kB / 363.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1307, allocations: 59.97 kB / 363.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.1309, allocations: 82.53 kB / 363.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1312, allocations: 140.2 kB / 363.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1312, allocations: 0 / 363.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006212/0.1318, allocations: 267.9 kB / 364 MB, free: 7.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/0.1319, allocations: 33.7 kB / 364.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1319, allocations: 4 kB / 364.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.1322, allocations: 72.88 kB / 364.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.1323, allocations: 19.92 kB / 364.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.1342, allocations: 1.617 MB / 365.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.1346, allocations: 51.89 kB / 365.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.1347, allocations: 12 kB / 365.8 MB, free: 5.062 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 0.0001306/0.1348, allocations: 122.9 kB / 366 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.1348, allocations: 11.84 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.1353, allocations: 175.5 kB / 366.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1353, allocations: 4 kB / 366.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1353, allocations: 0 / 366.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1353, allocations: 0 / 366.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1356, allocations: 217.6 kB / 366.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1356, allocations: 0 / 366.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.1357, allocations: 11.98 kB / 366.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.1359, allocations: 80.75 kB / 366.4 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1359, allocations: 3.984 kB / 366.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.1376, allocations: 1.606 MB / 368.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1376, allocations: 4.094 kB / 368.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.138, allocations: 252.1 kB / 368.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1381, allocations: 89 kB / 368.4 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1381, allocations: 4 kB / 368.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1383, allocations: 11.98 kB / 368.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.1384, allocations: 19.98 kB / 368.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.1384, allocations: 0 / 368.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.1385, allocations: 114.8 kB / 368.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1385, allocations: 0 / 368.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.1388, allocations: 55.83 kB / 368.6 MB, free: 2.059 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.0007822/0.1396, allocations: 0.7796 MB / 369.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.1403, allocations: 326 kB / 369.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1404, allocations: 0 / 369.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.1407, allocations: 178.8 kB / 369.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.141, allocations: 34.52 kB / 369.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1824/0.3234, allocations: 1.989 MB / 371.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3237, allocations: 0.7106 MB / 372.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.3238, allocations: 10.84 kB / 372.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.3238, allocations: 34.06 kB / 372.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3238, allocations: 2.062 kB / 372.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.3438, allocations: 4.198 MB / 376.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.344, allocations: 232.8 kB / 377.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.442, allocations: 0 / 377.1 MB, free: 17.73 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)