Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, 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.001308/0.001307, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.437/1.437, allocations: 227.7 MB / 247 MB, free: 10.36 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.001988/0.001988, allocations: 60.41 kB / 307.3 MB, free: 420 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 50.54 MB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004361/0.1219, allocations: 2.827 MB / 360.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1232, allocations: 0.6544 MB / 361.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1234, allocations: 7.938 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1236, allocations: 43.56 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1238, allocations: 91.14 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1241, allocations: 83.88 kB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.1245, allocations: 350.9 kB / 361.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.1248, allocations: 139.4 kB / 362 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.125, allocations: 127.6 kB / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1252, allocations: 155.3 kB / 362.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.1253, allocations: 28 kB / 362.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.1254, allocations: 35.94 kB / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.1254, allocations: 63.83 kB / 362.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1256, allocations: 163.2 kB / 362.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.126, allocations: 359 kB / 363 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.126, allocations: 0 / 363 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.126, allocations: 0 / 363 MB, free: 8.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.126, allocations: 0 / 363 MB, free: 8.734 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009958/0.127, allocations: 0.5947 MB / 363.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1271, allocations: 12.03 kB / 363.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.448e-05/0.1272, allocations: 70.66 kB / 363.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.1272, allocations: 36.56 kB / 363.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1276, allocations: 243.9 kB / 363.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1276, allocations: 20.94 kB / 363.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.1277, allocations: 36.28 kB / 364 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.1281, allocations: 248.9 kB / 364.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1281, allocations: 0 / 364.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.1282, allocations: 19.94 kB / 364.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1282, allocations: 4 kB / 364.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.1285, allocations: 186.2 kB / 364.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1301, allocations: 1.01 MB / 365.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.1306, allocations: 340.7 kB / 365.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.1309, allocations: 140.8 kB / 365.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1309, allocations: 4 kB / 365.9 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1309, allocations: 34.56 kB / 365.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.814e-06/0.1309, allocations: 0 / 365.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001503/0.1324, allocations: 0.7764 MB / 366.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1325, allocations: 51.41 kB / 366.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1327, allocations: 194.7 kB / 366.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1327, allocations: 33.7 kB / 367 MB, free: 4.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1328, allocations: 176.2 kB / 367.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.1329, allocations: 86.75 kB / 367.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.133, allocations: 45.98 kB / 367.3 MB, free: 4.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1331, allocations: 334.8 kB / 367.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1333, allocations: 76.53 kB / 367.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1335, allocations: 99.64 kB / 367.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.1338, allocations: 177.7 kB / 368 MB, free: 3.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1338, allocations: 0 / 368 MB, free: 3.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005293/0.1343, allocations: 322 kB / 368.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1343, allocations: 4 kB / 368.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1343, allocations: 0 / 368.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.1346, allocations: 92.78 kB / 368.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1348, allocations: 47.84 kB / 368.4 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.137, allocations: 2.103 MB / 370.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1371, allocations: 11.97 kB / 370.5 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1372, allocations: 4 kB / 370.5 MB, free: 0.6562 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1373, allocations: 145.8 kB / 370.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.1374, allocations: 19.88 kB / 370.7 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1374, allocations: 29.88 kB / 370.7 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1374, allocations: 0 / 370.7 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.1375, allocations: 4 kB / 370.7 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1375, allocations: 7.922 kB / 370.7 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1381/0.2755, allocations: 0.7355 MB / 371.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2756, allocations: 0.6875 kB / 371.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.2757, allocations: 42.91 kB / 371.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.276, allocations: 71.45 kB / 371.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.276, allocations: 9.891 kB / 371.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.2773, allocations: 1.98 MB / 373.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2774, allocations: 1.281 kB / 373.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.2779, allocations: 466 kB / 374 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.278, allocations: 102.4 kB / 374.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.278, allocations: 4.906 kB / 374.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.2782, allocations: 10.5 kB / 374.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.2783, allocations: 24.42 kB / 374.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2783, allocations: 8.281 kB / 374.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2784, allocations: 146 kB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2784, allocations: 3.469 kB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004399/0.2788, allocations: 75.44 kB / 374.4 MB, free: 17.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007738/0.2796, allocations: 0.9969 MB / 375.4 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.2803, allocations: 368.8 kB / 375.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2803, allocations: 0 / 375.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.2807, allocations: 270 kB / 376 MB, free: 16.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.2811, allocations: 37.61 kB / 376.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.2839, allocations: 2.831 MB / 378.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.2841, allocations: 0.7734 MB / 379.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.2842, allocations: 21.64 kB / 379.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.2843, allocations: 84.47 kB / 379.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2843, allocations: 0 / 379.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3059/0.5902, allocations: 5.689 MB / 385.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.94, allocations: 4.781 kB / 385.5 MB, free: 13.52 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)