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.001604/0.001604, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.72 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.08784, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003955/0.09183, allocations: 2.045 MB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.09287, allocations: 0.5844 MB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.09301, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.09315, allocations: 15.8 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.09326, allocations: 39.69 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.09353, allocations: 63.86 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.09383, allocations: 223.3 kB / 360.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.09397, allocations: 53.03 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.09409, allocations: 83.77 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.09429, allocations: 79.67 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.09434, allocations: 16 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.09441, allocations: 27.94 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.09445, allocations: 35.89 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.09455, allocations: 79.64 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.0948, allocations: 191.6 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09481, allocations: 0 / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.09482, allocations: 4 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.09483, allocations: 0 / 361.1 MB, free: 10.47 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.0007416/0.09557, allocations: 484.6 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.09562, allocations: 12.03 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.09567, allocations: 42.73 kB / 361.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.0958, allocations: 28.75 kB / 361.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.09604, allocations: 204.1 kB / 361.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.09613, allocations: 97.66 kB / 362 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.09618, allocations: 12.38 kB / 362 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.09646, allocations: 129.4 kB / 362.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.09648, allocations: 4 kB / 362.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.0965, allocations: 0 / 362.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.09651, allocations: 4 kB / 362.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.09683, allocations: 111.9 kB / 362.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.09767, allocations: 0.5187 MB / 362.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.09802, allocations: 106.7 kB / 362.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.09816, allocations: 52.77 kB / 362.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.0982, allocations: 8 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.09823, allocations: 42.44 kB / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.09823, allocations: 0 / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008265/0.09906, allocations: 299.4 kB / 363.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.09911, allocations: 55.41 kB / 363.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.09924, allocations: 149.4 kB / 363.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.09928, allocations: 29.7 kB / 363.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.09936, allocations: 115.8 kB / 363.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.09939, allocations: 23.66 kB / 363.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.09947, allocations: 34.08 kB / 363.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.0996, allocations: 322.8 kB / 363.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.09977, allocations: 55.97 kB / 364 MB, free: 7.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.09996, allocations: 90.53 kB / 364.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.1003, allocations: 148.1 kB / 364.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1003, allocations: 0 / 364.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005809/0.1009, allocations: 263.9 kB / 364.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.1009, allocations: 33.7 kB / 364.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1009, allocations: 0 / 364.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.1012, allocations: 84.81 kB / 364.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1013, allocations: 15.98 kB / 364.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.103, allocations: 1.613 MB / 366.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.1033, allocations: 55.89 kB / 366.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1033, allocations: 4 kB / 366.3 MB, free: 4.812 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 9.996e-05/0.1034, allocations: 126.9 kB / 366.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1035, allocations: 15.84 kB / 366.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.1039, allocations: 167.1 kB / 366.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1039, allocations: 0 / 366.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1039, allocations: 4 kB / 366.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1039, allocations: 0 / 366.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1041, allocations: 217.6 kB / 366.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1041, allocations: 0 / 366.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.1042, allocations: 12.17 kB / 366.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.1044, allocations: 84.73 kB / 366.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1044, allocations: 8 kB / 366.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.1059, allocations: 1.598 MB / 368.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1059, allocations: 32 / 368.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.1063, allocations: 264.3 kB / 368.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.1063, allocations: 89 kB / 368.9 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1064, allocations: 0 / 368.9 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1065, allocations: 11.98 kB / 368.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.1066, allocations: 19.92 kB / 368.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.1066, allocations: 4.188 kB / 368.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.245e-05/0.1067, allocations: 118.6 kB / 369 MB, free: 1.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1067, allocations: 4 kB / 369 MB, free: 1.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.107, allocations: 47.91 kB / 369.1 MB, free: 1.801 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.0007245/0.1077, allocations: 0.7835 MB / 369.8 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006191/0.1083, allocations: 317.8 kB / 370.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1084, allocations: 0 / 370.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.1087, allocations: 174.7 kB / 370.3 MB, free: 480 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.109, allocations: 45.86 kB / 370.4 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1504/0.2595, allocations: 1.947 MB / 372.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2597, allocations: 0.712 MB / 373 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.497e-05/0.2598, allocations: 9.531 kB / 373 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.2598, allocations: 33.34 kB / 373.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2599, allocations: 1.219 kB / 373.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.289, allocations: 4.4 MB / 377.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/16.25, allocations: 3.688 kB / 377.5 MB, free: 17.79 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)