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.001605/0.001605, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 214.4 kB / 18.59 MB, free: 4.402 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.574/1.574, allocations: 227.7 MB / 247.1 MB, free: 10.3 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.001896/0.001896, allocations: 59.97 kB / 307.3 MB, free: 424 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1237, allocations: 50.53 MB / 357.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007822/0.1316, allocations: 5.787 MB / 363.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1348, allocations: 1.2 MB / 364.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.1353, allocations: 19.94 kB / 364.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.1357, allocations: 170.4 kB / 365 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.1364, allocations: 273.5 kB / 365.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.1369, allocations: 223.7 kB / 365.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.1382, allocations: 1.06 MB / 366.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.139, allocations: 0.5141 MB / 367.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.1395, allocations: 418.6 kB / 367.5 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.1401, allocations: 473.9 kB / 368 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1403, allocations: 100 kB / 368.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.1404, allocations: 100 kB / 368.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.1406, allocations: 215.3 kB / 368.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.1412, allocations: 0.5015 MB / 368.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1423, allocations: 1.094 MB / 370 MB, free: 1.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.1423, allocations: 0 / 370 MB, free: 1.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1423, allocations: 0 / 370 MB, free: 1.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1424, allocations: 0 / 370 MB, free: 1.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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002191/0.1445, allocations: 1.236 MB / 371.2 MB, free: 404 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.1446, allocations: 12.03 kB / 371.2 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.1448, allocations: 140.1 kB / 371.4 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.145, allocations: 115.6 kB / 371.5 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1895/0.3345, allocations: 444.4 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.3346, allocations: 73.92 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.3348, allocations: 97.31 kB / 372.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.3365, allocations: 0.8694 MB / 372.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3365, allocations: 1.031 kB / 372.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.3366, allocations: 42.7 kB / 373 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.3367, allocations: 22.97 kB / 373 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3378, allocations: 0.5741 MB / 373.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.3426, allocations: 2.96 MB / 376.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.343, allocations: 301.8 kB / 376.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.3433, allocations: 267.4 kB / 377.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3434, allocations: 7 kB / 377.1 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3434, allocations: 42.53 kB / 377.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.245e-06/0.3434, allocations: 0 / 377.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001539/0.3449, allocations: 0.6506 MB / 377.8 MB, free: 17.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.345, allocations: 60.45 kB / 377.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.3457, allocations: 0.5073 MB / 378.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.3457, allocations: 36.89 kB / 378.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.346, allocations: 489.2 kB / 378.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3462, allocations: 160.2 kB / 379 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.3464, allocations: 132.8 kB / 379.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3465, allocations: 368.9 kB / 379.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.3469, allocations: 175.4 kB / 379.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.3475, allocations: 453 kB / 380.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.3484, allocations: 0.6456 MB / 380.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3484, allocations: 2.5 kB / 380.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001283/0.3497, allocations: 0.7588 MB / 381.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3497, allocations: 9.656 kB / 381.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3497, allocations: 13.52 kB / 381.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.35, allocations: 83.58 kB / 381.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.3507, allocations: 196.6 kB / 381.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3524, allocations: 2.009 MB / 383.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.353, allocations: 86.45 kB / 383.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.3531, allocations: 32.03 kB / 384 MB, free: 12.57 MB / 302.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.0003235/0.3534, allocations: 223.7 kB / 384.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.3535, allocations: 58.34 kB / 384.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.3536, allocations: 61.98 kB / 384.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3536, allocations: 4.125 kB / 384.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.3536, allocations: 2.125 kB / 384.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3536, allocations: 2.969 kB / 384.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008638/0.3545, allocations: 0.6451 MB / 384.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3545, allocations: 0 / 384.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.3549, allocations: 104.4 kB / 385.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.3552, allocations: 65.25 kB / 385.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3552, allocations: 10.97 kB / 385.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.3567, allocations: 1.991 MB / 387.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3567, allocations: 3.938 kB / 387.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.3577, allocations: 0.6537 MB / 387.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3579, allocations: 142.8 kB / 387.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.3579, allocations: 7.406 kB / 387.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.3584, allocations: 40.56 kB / 388 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3585, allocations: 31.59 kB / 388 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3585, allocations: 14.81 kB / 388 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004717/0.359, allocations: 347.6 kB / 388.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.359, allocations: 0 / 388.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001142/0.3602, allocations: 249.7 kB / 388.6 MB, free: 9.387 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,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.0013/0.3615, allocations: 1.217 MB / 389.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3628, allocations: 0.6077 MB / 390.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3628, allocations: 0 / 390.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.3633, allocations: 313 kB / 390.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.3639, allocations: 124.3 kB / 390.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007497/0.3714, allocations: 5.643 MB / 396.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.372, allocations: 0.9289 MB / 397.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.3724, allocations: 74.42 kB / 397.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.3727, allocations: 260 kB / 397.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3727, allocations: 3.938 kB / 397.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04927/0.4219, allocations: 12.58 MB / 410.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.23, allocations: 7.312 kB / 410.3 MB, free: 9.141 MB / 318.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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)