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.001189/0.001189, allocations: 94.34 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002524, allocations: 8 kB / 306.7 MB, free: 1.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1111, allocations: 51.5 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002497/0.1137, allocations: 1.666 MB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.115, allocations: 0.5537 MB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.1152, allocations: 0 / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.359e-05/0.1152, allocations: 11.92 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1154, allocations: 43.84 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1157, allocations: 51.86 kB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1159, allocations: 119.8 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1161, allocations: 48.97 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1162, allocations: 71.75 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1165, allocations: 75.72 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1165, allocations: 8 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.1166, allocations: 12 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.1166, allocations: 23.91 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1168, allocations: 53.64 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1169, allocations: 127.9 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1169, allocations: 0 / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.117, allocations: 4 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.117, allocations: 0 / 361.1 MB, free: 11.12 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.0007558/0.1177, allocations: 468.5 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1178, allocations: 8.031 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.1178, allocations: 50.55 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.118, allocations: 19.81 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1183, allocations: 215.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.68e-05/0.1184, allocations: 89.11 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1184, allocations: 15.94 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.1187, allocations: 132.9 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1187, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1188, allocations: 8 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1188, allocations: 4 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.1191, allocations: 123.9 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.12, allocations: 0.5032 MB / 362.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.1203, allocations: 122.7 kB / 362.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1204, allocations: 3.984 kB / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1204, allocations: 42.67 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1204, allocations: 0 / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.00084/0.1213, allocations: 315.4 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1213, allocations: 55.39 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1215, allocations: 154.3 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1215, allocations: 29.7 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.1216, allocations: 111.9 kB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1216, allocations: 31.55 kB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.1216, allocations: 11.94 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1218, allocations: 318.8 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1219, allocations: 63.97 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1221, allocations: 86.53 kB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1223, allocations: 85.69 kB / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1223, allocations: 0 / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004945/0.1228, allocations: 259.9 kB / 364.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.1229, allocations: 33.69 kB / 364.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1229, allocations: 4 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.1231, allocations: 80.8 kB / 364.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.1232, allocations: 12 kB / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.1249, allocations: 1.511 MB / 366 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.1252, allocations: 59.98 kB / 366 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1253, allocations: 4 kB / 366 MB, free: 5.703 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.0001427/0.1254, allocations: 132.2 kB / 366.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1255, allocations: 15.86 kB / 366.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.1259, allocations: 175 kB / 366.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1259, allocations: 4 kB / 366.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.1259, allocations: 0 / 366.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1259, allocations: 7.984 kB / 366.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.1262, allocations: 217.6 kB / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1262, allocations: 0 / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.1263, allocations: 12 kB / 366.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.1264, allocations: 85.08 kB / 366.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1265, allocations: 4 kB / 366.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.128, allocations: 1.507 MB / 368.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.128, allocations: 0 / 368.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.1284, allocations: 268.3 kB / 368.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.1285, allocations: 81.02 kB / 368.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1285, allocations: 11.95 kB / 368.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1287, allocations: 15.98 kB / 368.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1287, allocations: 11.98 kB / 368.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1287, allocations: 7.984 kB / 368.6 MB, free: 2.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.222e-05/0.1288, allocations: 111.4 kB / 368.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1288, allocations: 7.938 kB / 368.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1292, allocations: 44 kB / 368.7 MB, free: 2.773 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.0007607/0.13, allocations: 0.799 MB / 369.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006244/0.1306, allocations: 318 kB / 369.8 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1306, allocations: 4.125 kB / 369.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.1309, allocations: 178.6 kB / 370 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1312, allocations: 27.94 kB / 370 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1322, allocations: 0.8427 MB / 370.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2274/0.3597, allocations: 0.7079 MB / 371.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.3598, allocations: 7.109 kB / 371.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.3599, allocations: 32.95 kB / 371.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3599, allocations: 3.188 kB / 371.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.3831, allocations: 3.81 MB / 375.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.3834, allocations: 207.7 kB / 375.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.351, allocations: 7.938 kB / 375.7 MB, free: 18.46 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)