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.0007892/0.0007893, allocations: 98.47 kB / 17 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009501/0.0009502, allocations: 193.6 kB / 17.9 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002217, allocations: 8 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002446/0.1195, allocations: 1.72 MB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1205, allocations: 0.5342 MB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1206, allocations: 0 / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1207, allocations: 15.86 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.1208, allocations: 31.75 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1211, allocations: 59.88 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1213, allocations: 183.4 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1215, allocations: 40.98 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1216, allocations: 63.77 kB / 361 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1219, allocations: 79.67 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.1219, allocations: 11.98 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.122, allocations: 16 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1221, allocations: 23.91 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.1221, allocations: 49.64 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1223, allocations: 131.9 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.1223, allocations: 3.984 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1224, allocations: 0 / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1224, allocations: 0 / 361.3 MB, free: 11.01 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.0007862/0.1232, allocations: 468.5 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.1232, allocations: 12.03 kB / 361.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.1233, allocations: 46.55 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1234, allocations: 19.81 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1237, allocations: 217.5 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.1238, allocations: 89.11 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1239, allocations: 8 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.1242, allocations: 140.7 kB / 362.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1242, allocations: 3.984 kB / 362.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1242, allocations: 4 kB / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1243, allocations: 4 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1246, allocations: 119.9 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.1254, allocations: 0.511 MB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1257, allocations: 126.5 kB / 363 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1259, allocations: 60.83 kB / 363.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1259, allocations: 0 / 363.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.126, allocations: 30.56 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.426e-06/0.126, allocations: 0 / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008036/0.1268, allocations: 323.4 kB / 363.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1268, allocations: 55.34 kB / 363.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.127, allocations: 150.9 kB / 363.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.127, allocations: 33.7 kB / 363.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.1271, allocations: 119.8 kB / 363.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1271, allocations: 31.55 kB / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.1272, allocations: 0 / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1273, allocations: 318.8 kB / 364.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1275, allocations: 63.95 kB / 364.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1276, allocations: 90.48 kB / 364.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1278, allocations: 89.67 kB / 364.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1278, allocations: 0 / 364.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004901/0.1283, allocations: 252 kB / 364.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.1284, allocations: 36.2 kB / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1284, allocations: 0 / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.1286, allocations: 84.8 kB / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.1288, allocations: 19.98 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.1305, allocations: 1.491 MB / 366.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.1308, allocations: 59.97 kB / 366.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1308, allocations: 8.469 kB / 366.3 MB, free: 5.539 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.cv,dcPowerSupply.cc,dcPowerSupply.cp) * 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 (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 0.0001062/0.131, allocations: 122.9 kB / 366.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.131, allocations: 19.86 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.1314, allocations: 179 kB / 366.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1314, allocations: 7.984 kB / 366.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1314, allocations: 0 / 366.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1314, allocations: 0 / 366.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.1317, allocations: 217.6 kB / 366.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1317, allocations: 4 kB / 366.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.696e-05/0.1318, allocations: 15.98 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.132, allocations: 72.77 kB / 366.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.132, allocations: 3.938 kB / 366.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.1334, allocations: 1.495 MB / 368.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1334, allocations: 0 / 368.4 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.1338, allocations: 264.2 kB / 368.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.1338, allocations: 84.97 kB / 368.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1339, allocations: 4 kB / 368.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.134, allocations: 23.98 kB / 368.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.1341, allocations: 15.91 kB / 368.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1341, allocations: 4 kB / 368.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.866e-05/0.1342, allocations: 111.2 kB / 368.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1342, allocations: 0 / 368.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1345, allocations: 44 kB / 368.9 MB, free: 2.637 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 (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.0006415/0.1351, allocations: 0.807 MB / 369.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.1357, allocations: 317.9 kB / 370.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1357, allocations: 0 / 370.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.136, allocations: 182.7 kB / 370.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1363, allocations: 23.98 kB / 370.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.138, allocations: 0.9405 MB / 371.2 MB, free: 268 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1997/0.3377, allocations: 0.7062 MB / 371.9 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3379, allocations: 10.36 kB / 371.9 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.338, allocations: 30.16 kB / 372 MB, free: 18.99 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.338, allocations: 0.5 kB / 372 MB, free: 18.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.3597, allocations: 3.848 MB / 375.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.36, allocations: 220.6 kB / 376 MB, free: 18.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.339, allocations: 0 / 376 MB, free: 18.51 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/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)