Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, 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.001322/0.001322, 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.431/1.431, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.002021/0.002021, allocations: 67.89 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2871, allocations: 50.54 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004814/0.2919, allocations: 3.255 MB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2941, allocations: 1.013 MB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2943, allocations: 7.938 kB / 413.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.2946, allocations: 55.42 kB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.295, allocations: 133.3 kB / 413.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.2953, allocations: 155.7 kB / 413.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.2958, allocations: 493.9 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.2961, allocations: 127.1 kB / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.2964, allocations: 195.3 kB / 414.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.2967, allocations: 211 kB / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.2968, allocations: 40 kB / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.297, allocations: 79.95 kB / 414.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.2971, allocations: 91.67 kB / 414.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.2973, allocations: 215 kB / 415.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.298, allocations: 0.4969 MB / 415.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.298, allocations: 8 kB / 415.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.298, allocations: 0 / 415.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.298, allocations: 0 / 415.6 MB, free: 10.78 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001568/0.2996, allocations: 0.7477 MB / 416.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.2997, allocations: 8.031 kB / 416.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.974e-05/0.2998, allocations: 70.72 kB / 416.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.2999, allocations: 52.66 kB / 416.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.3005, allocations: 319.5 kB / 416.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3005, allocations: 33.03 kB / 416.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.3006, allocations: 32.38 kB / 416.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.3012, allocations: 349.2 kB / 417.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3012, allocations: 0 / 417.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.3013, allocations: 12 kB / 417.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3013, allocations: 8 kB / 417.2 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.3018, allocations: 250.4 kB / 417.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3038, allocations: 1.159 MB / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.3045, allocations: 291.5 kB / 418.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.3051, allocations: 217.2 kB / 419.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.3061, allocations: 1.113 MB / 420.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3062, allocations: 38.8 kB / 420.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.3062, allocations: 0 / 420.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001418/0.3076, allocations: 0.525 MB / 420.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.3077, allocations: 81.11 kB / 420.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3081, allocations: 341.7 kB / 421.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.3081, allocations: 33.7 kB / 421.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3084, allocations: 220.4 kB / 421.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/0.3085, allocations: 107.1 kB / 421.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3086, allocations: 74.02 kB / 421.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3088, allocations: 350.7 kB / 422 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.309, allocations: 104.6 kB / 422.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.3093, allocations: 182 kB / 422.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.3099, allocations: 283.6 kB / 422.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3099, allocations: 4 kB / 422.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008256/0.3107, allocations: 434 kB / 423 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3107, allocations: 8 kB / 423 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3108, allocations: 4 kB / 423 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.311, allocations: 68.75 kB / 423.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.3114, allocations: 79.89 kB / 423.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.3135, allocations: 1.951 MB / 425.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.3138, allocations: 39.73 kB / 425.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3139, allocations: 19.98 kB / 425.1 MB, free: 0.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.3141, allocations: 153.7 kB / 425.3 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3141, allocations: 35.77 kB / 425.3 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007551/0.3149, allocations: 334.4 kB / 425.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3149, allocations: 4 kB / 425.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3149, allocations: 7.875 kB / 425.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.3149, allocations: 0 / 425.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.3154, allocations: 393.3 kB / 426 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3154, allocations: 3.938 kB / 426 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.3157, allocations: 55.95 kB / 426.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.3159, allocations: 60.83 kB / 426.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.316, allocations: 11.98 kB / 426.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004706/0.3165, allocations: 0.6069 MB / 426.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3165, allocations: 4.062 kB / 426.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.3174, allocations: 0.525 MB / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.3175, allocations: 108.9 kB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.3176, allocations: 11.98 kB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.3178, allocations: 23.98 kB / 427.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.3179, allocations: 15.98 kB / 427.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3179, allocations: 7.984 kB / 427.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.3182, allocations: 239.2 kB / 427.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3182, allocations: 0 / 427.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.3186, allocations: 107.8 kB / 427.8 MB, free: 13.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.3201, allocations: 1.092 MB / 428.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.321, allocations: 422.4 kB / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3211, allocations: 0 / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.3214, allocations: 139.8 kB / 429.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3218, allocations: 54.36 kB / 429.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.3274, allocations: 3.764 MB / 433.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.328, allocations: 0.7912 MB / 434.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.3282, allocations: 46.88 kB / 434.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.3284, allocations: 123.4 kB / 434.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3284, allocations: 0 / 434.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.3654, allocations: 7.794 MB / 442 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.65, allocations: 5.25 kB / 442 MB, free: 15.5 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)