Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 201.2 kB / 18.73 MB, free: 4.312 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.17 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.001904/0.001904, allocations: 67.89 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2578, allocations: 50.55 MB / 409.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004452/0.2623, allocations: 3.091 MB / 412.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2638, allocations: 0.7988 MB / 413 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.264, allocations: 4 kB / 413 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.2642, allocations: 55.44 kB / 413 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.2645, allocations: 119 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.2648, allocations: 123.8 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.2653, allocations: 454.3 kB / 413.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.2655, allocations: 142.8 kB / 413.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.2658, allocations: 187.3 kB / 414 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2661, allocations: 191.1 kB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2661, allocations: 44 kB / 414.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.2662, allocations: 44 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.2663, allocations: 87.69 kB / 414.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2665, allocations: 195.1 kB / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.267, allocations: 497.1 kB / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.267, allocations: 4 kB / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2671, allocations: 0 / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2671, allocations: 0 / 415.1 MB, free: 11.36 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001379/0.2685, allocations: 0.7068 MB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2685, allocations: 16.03 kB / 415.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.2686, allocations: 66.72 kB / 415.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.2687, allocations: 40.7 kB / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.2692, allocations: 318.7 kB / 416.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2692, allocations: 20.94 kB / 416.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.2693, allocations: 28.12 kB / 416.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.2701, allocations: 355.6 kB / 416.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2701, allocations: 0 / 416.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.2701, allocations: 12 kB / 416.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2701, allocations: 4 kB / 416.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.271, allocations: 306 kB / 416.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.2733, allocations: 1.283 MB / 418.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.274, allocations: 234.4 kB / 418.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.2744, allocations: 116.7 kB / 418.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2744, allocations: 4.25 kB / 418.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.2749, allocations: 193.8 kB / 418.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.2749, allocations: 0 / 418.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002485/0.2774, allocations: 0.6786 MB / 419.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.2775, allocations: 106.8 kB / 419.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.2779, allocations: 295 kB / 419.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2779, allocations: 25.7 kB / 419.8 MB, free: 6.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2781, allocations: 216 kB / 420.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.2782, allocations: 51.58 kB / 420.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2783, allocations: 53.66 kB / 420.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2784, allocations: 342.8 kB / 420.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.2788, allocations: 115.8 kB / 420.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.2793, allocations: 215.9 kB / 420.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.28, allocations: 323.8 kB / 421.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2801, allocations: 0 / 421.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001409/0.2815, allocations: 498.2 kB / 421.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.2815, allocations: 37.7 kB / 421.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2815, allocations: 8.062 kB / 421.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.2819, allocations: 80.8 kB / 421.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2822, allocations: 55.91 kB / 421.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.285, allocations: 1.998 MB / 423.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.2853, allocations: 51.81 kB / 423.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2854, allocations: 12 kB / 423.9 MB, free: 2.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.000197/0.2856, allocations: 165.8 kB / 424 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.2856, allocations: 27.81 kB / 424 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.2857, allocations: 29.8 kB / 424.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2857, allocations: 4 kB / 424.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2857, allocations: 0 / 424.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2857, allocations: 0 / 424.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.2861, allocations: 337.4 kB / 424.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2861, allocations: 4 kB / 424.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.2863, allocations: 35.91 kB / 424.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.2866, allocations: 80.8 kB / 424.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2866, allocations: 3.938 kB / 424.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.2891, allocations: 1.813 MB / 426.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2891, allocations: 8.047 kB / 426.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.2906, allocations: 0.4888 MB / 426.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.2907, allocations: 108.9 kB / 426.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.2907, allocations: 3.938 kB / 426.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.291, allocations: 35.95 kB / 427 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.2911, allocations: 23.97 kB / 427 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2911, allocations: 0 / 427 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.2914, allocations: 214 kB / 427.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2914, allocations: 0 / 427.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004209/0.2918, allocations: 91.78 kB / 427.3 MB, free: 14.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001873/0.2937, allocations: 1.035 MB / 428.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2948, allocations: 453 kB / 428.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2948, allocations: 0 / 428.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.2953, allocations: 243.3 kB / 429 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.2957, allocations: 48.8 kB / 429.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.3016, allocations: 3.33 MB / 432.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.302, allocations: 0.7639 MB / 433.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.3022, allocations: 26.97 kB / 433.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3023, allocations: 87.41 kB / 433.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3023, allocations: 0 / 433.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.3368, allocations: 7.393 MB / 440.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.89, allocations: 4 kB / 440.7 MB, free: 0.8867 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)