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.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001388, allocations: 198 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.44/1.44, allocations: 227.7 MB / 247.2 MB, free: 10.21 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.002643/0.002643, allocations: 71.88 kB / 358.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2719, allocations: 50.55 MB / 409.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004145/0.2761, allocations: 2.965 MB / 412.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2776, allocations: 0.7635 MB / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.2778, allocations: 7.938 kB / 412.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.278, allocations: 55.5 kB / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.2782, allocations: 103.1 kB / 413 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.2785, allocations: 119.8 kB / 413.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.279, allocations: 406.3 kB / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2792, allocations: 131.3 kB / 413.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2794, allocations: 147.5 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.2797, allocations: 175.2 kB / 414 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.2797, allocations: 32 kB / 414 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.2798, allocations: 40 kB / 414 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.2799, allocations: 75.69 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.28, allocations: 167.1 kB / 414.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.2805, allocations: 381.3 kB / 414.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2805, allocations: 0 / 414.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2805, allocations: 0 / 414.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.2805, allocations: 0 / 414.6 MB, free: 11.81 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0011/0.2816, allocations: 0.6468 MB / 415.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2817, allocations: 8.031 kB / 415.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/0.2818, allocations: 66.72 kB / 415.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.2818, allocations: 36.75 kB / 415.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.2824, allocations: 288.7 kB / 415.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2824, allocations: 21.03 kB / 415.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2825, allocations: 32.38 kB / 415.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.2831, allocations: 353.1 kB / 416.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2832, allocations: 3.938 kB / 416.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.2832, allocations: 12 kB / 416.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2832, allocations: 8 kB / 416.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.2839, allocations: 286.5 kB / 416.4 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.2858, allocations: 1.174 MB / 417.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.2867, allocations: 306.7 kB / 417.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.2872, allocations: 176.7 kB / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2873, allocations: 0 / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.2873, allocations: 38.56 kB / 418.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 2.935e-06/0.2873, allocations: 4 kB / 418.1 MB, free: 8.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002687/0.29, allocations: 0.856 MB / 418.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2901, allocations: 55.41 kB / 419 MB, free: 7.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.2904, allocations: 270.6 kB / 419.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.2904, allocations: 33.7 kB / 419.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.2906, allocations: 212.2 kB / 419.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.2907, allocations: 71.42 kB / 419.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.2908, allocations: 61.66 kB / 419.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2909, allocations: 334.8 kB / 419.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.2912, allocations: 100.7 kB / 420 MB, free: 6.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.2915, allocations: 191.8 kB / 420.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.2921, allocations: 304.6 kB / 420.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2922, allocations: 3.984 kB / 420.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001438/0.2936, allocations: 0.5258 MB / 421 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2936, allocations: 8 kB / 421.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2937, allocations: 4 kB / 421.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.2943, allocations: 141.7 kB / 421.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.2945, allocations: 55.91 kB / 421.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/0.2999, allocations: 3.704 MB / 425 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.3002, allocations: 47.72 kB / 425 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3003, allocations: 16 kB / 425 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002984/0.3006, allocations: 184 kB / 425.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002453/0.3008, allocations: 164 kB / 425.4 MB, free: 364 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004362/0.3013, allocations: 263.7 kB / 425.6 MB, free: 56 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.3013, allocations: 4 kB / 425.6 MB, free: 52 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000969/0.3023, allocations: 417.6 kB / 426 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3023, allocations: 8 kB / 426 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3023, allocations: 4 kB / 426 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.3026, allocations: 89.69 kB / 426.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3028, allocations: 59.91 kB / 426.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.306, allocations: 3.025 MB / 429.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3063, allocations: 27.88 kB / 429.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3063, allocations: 12 kB / 429.3 MB, free: 12.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.3065, allocations: 197.6 kB / 429.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.3066, allocations: 35.81 kB / 429.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.3066, allocations: 26.17 kB / 429.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3067, allocations: 8.062 kB / 429.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3067, allocations: 3.938 kB / 429.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3067, allocations: 0 / 429.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3084, allocations: 0.8183 MB / 430.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3084, allocations: 0 / 430.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.3086, allocations: 31.92 kB / 430.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.3091, allocations: 141.6 kB / 430.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3091, allocations: 4 kB / 430.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.3137, allocations: 3.422 MB / 433.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3137, allocations: 3.938 kB / 433.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.3153, allocations: 0.6022 MB / 434.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3154, allocations: 104.9 kB / 434.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3155, allocations: 4 kB / 434.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.3157, allocations: 32.03 kB / 434.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.3158, allocations: 15.98 kB / 434.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3158, allocations: 8.125 kB / 434.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.316, allocations: 198 kB / 434.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.316, allocations: 0 / 434.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.3167, allocations: 155.7 kB / 435 MB, free: 5.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/0.3188, allocations: 1.162 MB / 436.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.3206, allocations: 0.9054 MB / 437.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3206, allocations: 0 / 437.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.3211, allocations: 357.7 kB / 437.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3216, allocations: 48.55 kB / 437.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.3276, allocations: 3.372 MB / 440.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.328, allocations: 0.7687 MB / 441.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.3282, allocations: 26.97 kB / 441.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3283, allocations: 87.41 kB / 441.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3284, allocations: 0 / 441.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03931/0.3677, allocations: 7.822 MB / 449.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.58, allocations: 11.75 kB / 449.6 MB, free: 7.297 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)