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.001155/0.001155, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.08 kB / 306.4 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09044, allocations: 50.53 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002928/0.0934, allocations: 2.105 MB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.0943, allocations: 0.5845 MB / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.09438, allocations: 4 kB / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.352e-05/0.09449, allocations: 11.86 kB / 359.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.09458, allocations: 35.75 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.09477, allocations: 55.94 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.09496, allocations: 203.3 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.09508, allocations: 45.05 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.09518, allocations: 75.7 kB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.09534, allocations: 83.7 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.09538, allocations: 8 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.09544, allocations: 20 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.09547, allocations: 23.91 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.09556, allocations: 71.66 kB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.09575, allocations: 179.6 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.09576, allocations: 4 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.09577, allocations: 0 / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.09578, allocations: 0 / 360.4 MB, free: 10.68 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.0006525/0.09643, allocations: 484.7 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.09648, allocations: 15.97 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.09652, allocations: 50.73 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.09663, allocations: 24.75 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.09684, allocations: 208.2 kB / 361.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.09692, allocations: 93.67 kB / 361.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.09696, allocations: 12.38 kB / 361.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.09724, allocations: 133.4 kB / 361.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.09726, allocations: 0 / 361.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.09728, allocations: 4 kB / 361.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09729, allocations: 4 kB / 361.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.09759, allocations: 111.9 kB / 361.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.09835, allocations: 0.507 MB / 362 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.09868, allocations: 114.7 kB / 362.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.09882, allocations: 48.83 kB / 362.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.09885, allocations: 7.984 kB / 362.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.09888, allocations: 42.44 kB / 362.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.09888, allocations: 0 / 362.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007682/0.09966, allocations: 299.7 kB / 362.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.0997, allocations: 55.41 kB / 362.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.09981, allocations: 149.6 kB / 362.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.09984, allocations: 29.8 kB / 362.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.09991, allocations: 123.7 kB / 362.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.09993, allocations: 27.64 kB / 362.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.1, allocations: 29.72 kB / 362.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.1001, allocations: 322.8 kB / 363.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1003, allocations: 63.95 kB / 363.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.1004, allocations: 82.48 kB / 363.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.1007, allocations: 136.2 kB / 363.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1007, allocations: 0 / 363.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005624/0.1013, allocations: 267.9 kB / 363.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1013, allocations: 37.64 kB / 363.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1014, allocations: 0 / 363.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.1016, allocations: 76.88 kB / 363.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.1017, allocations: 15.98 kB / 363.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.1032, allocations: 1.495 MB / 365.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.1035, allocations: 63.8 kB / 365.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1036, allocations: 4 kB / 365.5 MB, free: 5.137 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.0001234/0.1037, allocations: 134.9 kB / 365.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1037, allocations: 7.906 kB / 365.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.1041, allocations: 159.2 kB / 365.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1041, allocations: 3.938 kB / 365.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1041, allocations: 7.922 kB / 365.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1041, allocations: 0 / 365.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1043, allocations: 217.6 kB / 366 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1044, allocations: 0 / 366 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.1044, allocations: 15.98 kB / 366 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.1046, allocations: 68.83 kB / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1046, allocations: 0 / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.1058, allocations: 1.503 MB / 367.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1059, allocations: 0 / 367.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1062, allocations: 256.4 kB / 367.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.1063, allocations: 88.95 kB / 367.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1063, allocations: 4 kB / 367.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1065, allocations: 11.98 kB / 367.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.1065, allocations: 11.98 kB / 367.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1065, allocations: 11.98 kB / 367.9 MB, free: 2.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.1066, allocations: 106.6 kB / 368 MB, free: 2.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1066, allocations: 0 / 368 MB, free: 2.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1069, allocations: 51.91 kB / 368.1 MB, free: 2.262 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.0006006/0.1075, allocations: 0.7873 MB / 368.9 MB, free: 1.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1081, allocations: 309.9 kB / 369.2 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1081, allocations: 0 / 369.2 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.1083, allocations: 182.5 kB / 369.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1087, allocations: 24.67 kB / 369.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/0.2422, allocations: 2.001 MB / 371.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2424, allocations: 0.7075 MB / 372.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.044e-05/0.2425, allocations: 7.922 kB / 372.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.2425, allocations: 30.7 kB / 372.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2425, allocations: 0.6875 kB / 372.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.2583, allocations: 3.999 MB / 376.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001289/0.2584, allocations: 232.6 kB / 376.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.987, allocations: 3.938 kB / 376.4 MB, free: 17.59 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)