Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 200.6 kB / 18.74 MB, free: 4.332 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.392/1.392, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001894/0.001894, allocations: 71.88 kB / 358.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2694, allocations: 50.53 MB / 409.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.01008/0.2796, allocations: 5.784 MB / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.2834, allocations: 1.204 MB / 416.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.2842, allocations: 19.94 kB / 416.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.2848, allocations: 170.4 kB / 416.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.2859, allocations: 269.5 kB / 416.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.2867, allocations: 219.7 kB / 416.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.2884, allocations: 1.067 MB / 417.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.2895, allocations: 0.5179 MB / 418.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.2903, allocations: 418.6 kB / 418.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009528/0.2912, allocations: 474 kB / 419.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.2914, allocations: 96 kB / 419.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.2918, allocations: 100 kB / 419.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.2921, allocations: 223.2 kB / 419.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007755/0.2929, allocations: 0.5015 MB / 420.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.2948, allocations: 1.104 MB / 421.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2948, allocations: 0 / 421.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.2949, allocations: 0 / 421.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.2949, allocations: 0 / 421.2 MB, free: 5.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003553/0.2985, allocations: 1.266 MB / 422.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/0.2985, allocations: 8.031 kB / 422.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.2988, allocations: 148.1 kB / 422.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.2991, allocations: 116.2 kB / 422.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.3003, allocations: 463.3 kB / 423.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.3004, allocations: 78.38 kB / 423.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.3006, allocations: 88.38 kB / 423.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.3031, allocations: 0.8715 MB / 424.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.3031, allocations: 0 / 424.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.3033, allocations: 40 kB / 424.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.3033, allocations: 28 kB / 424.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3052, allocations: 0.57 MB / 424.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007888/0.3131, allocations: 2.962 MB / 427.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/0.314, allocations: 290.3 kB / 428.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.3147, allocations: 268.8 kB / 428.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.3148, allocations: 4 kB / 428.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.3148, allocations: 38.56 kB / 428.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 4.138e-06/0.3148, allocations: 0 / 428.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002739/0.3176, allocations: 0.6552 MB / 429.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3177, allocations: 59.34 kB / 429.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.3188, allocations: 0.5181 MB / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.3189, allocations: 37.7 kB / 429.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/0.3194, allocations: 499.2 kB / 430.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.3197, allocations: 162.7 kB / 430.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.32, allocations: 138.6 kB / 430.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.3203, allocations: 362.8 kB / 430.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.3209, allocations: 169.9 kB / 431 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/0.3218, allocations: 453.6 kB / 431.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.3233, allocations: 0.6518 MB / 432.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.3233, allocations: 4 kB / 432.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00252/0.3259, allocations: 0.7613 MB / 432.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.3259, allocations: 11.98 kB / 432.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.326, allocations: 12 kB / 432.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.3265, allocations: 76.81 kB / 433 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3279, allocations: 199.9 kB / 433.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.3312, allocations: 2.002 MB / 435.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.3321, allocations: 91.3 kB / 435.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.3322, allocations: 39.94 kB / 435.3 MB, free: 6.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.000492/0.3327, allocations: 218.5 kB / 435.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3329, allocations: 67.61 kB / 435.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3331, allocations: 61.52 kB / 435.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3331, allocations: 4 kB / 435.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3332, allocations: 4 kB / 435.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3332, allocations: 3.984 kB / 435.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3346, allocations: 0.6454 MB / 436.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3346, allocations: 0 / 436.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.3354, allocations: 103.9 kB / 436.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/0.3358, allocations: 68.8 kB / 436.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.3359, allocations: 8 kB / 436.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.3392, allocations: 1.983 MB / 438.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3392, allocations: 0 / 438.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.341, allocations: 0.6663 MB / 439.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.3413, allocations: 144.8 kB / 439.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3414, allocations: 4 kB / 439.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.3421, allocations: 48.09 kB / 439.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3423, allocations: 31.97 kB / 439.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.3423, allocations: 11.98 kB / 439.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006709/0.343, allocations: 346.9 kB / 439.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.343, allocations: 0 / 439.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001416/0.3444, allocations: 247.4 kB / 439.9 MB, free: 1.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.002289/0.3468, allocations: 1.222 MB / 441.2 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3485, allocations: 0.5957 MB / 441.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3485, allocations: 0 / 441.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008204/0.3493, allocations: 316.5 kB / 442.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3504, allocations: 130.5 kB / 442.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.3626, allocations: 5.491 MB / 447.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008857/0.3635, allocations: 0.9259 MB / 448.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005607/0.3641, allocations: 73.2 kB / 448.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.3646, allocations: 267.3 kB / 448.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3647, allocations: 0 / 448.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07977/0.4445, allocations: 12.82 MB / 461.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.28, allocations: 4 kB / 461.8 MB, free: 11.44 MB / 382.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_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_CauerLowPassOPV.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)