Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 69.23 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1068, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003798/0.1107, allocations: 2.037 MB / 360.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1119, allocations: 0.5883 MB / 361.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1121, allocations: 3.938 kB / 361.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1123, allocations: 19.8 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1124, allocations: 39.7 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1127, allocations: 71.83 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.113, allocations: 219.3 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1132, allocations: 44.55 kB / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1133, allocations: 87.77 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1135, allocations: 87.64 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.1136, allocations: 16 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1137, allocations: 28 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1137, allocations: 27.91 kB / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1138, allocations: 79.64 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.1141, allocations: 187.7 kB / 362 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1142, allocations: 4 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1142, allocations: 0 / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1142, allocations: 0 / 362 MB, free: 10.38 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.0008962/0.1151, allocations: 496.6 kB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1151, allocations: 12.03 kB / 362.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1153, allocations: 20.75 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1156, allocations: 208.1 kB / 362.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1157, allocations: 93.67 kB / 362.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.1158, allocations: 12.36 kB / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.1161, allocations: 137.6 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1161, allocations: 0 / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1162, allocations: 4 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1162, allocations: 4 kB / 362.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.1165, allocations: 108.7 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.1174, allocations: 0.507 MB / 363.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.1178, allocations: 118.7 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.118, allocations: 48.83 kB / 363.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.118, allocations: 4 kB / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.118, allocations: 34.5 kB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.096e-06/0.1181, allocations: 0 / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000924/0.119, allocations: 307.6 kB / 364 MB, free: 8.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1191, allocations: 59.44 kB / 364.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1192, allocations: 153 kB / 364.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1192, allocations: 25.7 kB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1193, allocations: 115.9 kB / 364.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1194, allocations: 35.53 kB / 364.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.1195, allocations: 29.72 kB / 364.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1196, allocations: 326.8 kB / 364.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.1198, allocations: 55.97 kB / 364.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.12, allocations: 78.53 kB / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.1204, allocations: 148.2 kB / 365 MB, free: 6.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1204, allocations: 0 / 365 MB, free: 6.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006496/0.1211, allocations: 259.9 kB / 365.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.1212, allocations: 31.89 kB / 365.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1212, allocations: 4.062 kB / 365.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.1214, allocations: 84.73 kB / 365.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.1215, allocations: 19.92 kB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1235, allocations: 1.613 MB / 367.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.1239, allocations: 51.83 kB / 367.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1239, allocations: 8 kB / 367.1 MB, free: 4.77 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.0001216/0.124, allocations: 125.9 kB / 367.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.1241, allocations: 7.906 kB / 367.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.1245, allocations: 171.1 kB / 367.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1245, allocations: 4 kB / 367.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1245, allocations: 0 / 367.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1246, allocations: 0 / 367.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.1248, allocations: 213.6 kB / 367.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1248, allocations: 0 / 367.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.1249, allocations: 11.98 kB / 367.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.1251, allocations: 76.8 kB / 367.7 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1251, allocations: 7.938 kB / 367.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.1268, allocations: 1.606 MB / 369.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1268, allocations: 4.031 kB / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.1273, allocations: 260.1 kB / 369.6 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1273, allocations: 85.08 kB / 369.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1274, allocations: 4 kB / 369.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1275, allocations: 15.98 kB / 369.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1276, allocations: 15.92 kB / 369.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1276, allocations: 4 kB / 369.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.029e-05/0.1277, allocations: 116.9 kB / 369.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1277, allocations: 0 / 369.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000311/0.128, allocations: 47.91 kB / 369.9 MB, free: 1.77 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.0001485/0.1282, allocations: 99.25 kB / 370 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000686/0.1289, allocations: 314 kB / 370.3 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1289, allocations: 7.938 kB / 370.3 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1292, allocations: 174.6 kB / 370.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1296, allocations: 36.27 kB / 370.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.1302, allocations: 304.5 kB / 370.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.1306, allocations: 0.7045 MB / 371.5 MB, free: 40 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1307, allocations: 15.44 kB / 371.5 MB, free: 24 kB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1307, allocations: 0 / 371.5 MB, free: 24 kB / 302.1 MB Notification: Performance of Templates: time 0.1407/0.2714, allocations: 2.469 MB / 374 MB, free: 19.49 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)