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.LCOscillator.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.LCOscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 122.8 kB / 17.78 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.001248/0.001249, allocations: 202 kB / 18.74 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.388/1.388, allocations: 227.7 MB / 247.2 MB, free: 10.25 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.001898/0.001898, allocations: 63.89 kB / 358.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 50.54 MB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003824/0.261, allocations: 2.713 MB / 411.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2623, allocations: 0.705 MB / 412.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.2625, allocations: 8 kB / 412.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.2626, allocations: 47.52 kB / 412.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.2628, allocations: 83.25 kB / 412.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2631, allocations: 95.8 kB / 412.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2635, allocations: 326.6 kB / 413.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.2637, allocations: 117.6 kB / 413.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.264, allocations: 139.5 kB / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2642, allocations: 139.4 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.2642, allocations: 28 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.2643, allocations: 28 kB / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.2643, allocations: 63.77 kB / 413.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2645, allocations: 143.3 kB / 413.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2648, allocations: 317.6 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2649, allocations: 0 / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2649, allocations: 0 / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2649, allocations: 4 kB / 414 MB, free: 12.43 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009588/0.2658, allocations: 0.5923 MB / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2659, allocations: 16.03 kB / 414.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.849e-05/0.266, allocations: 62.72 kB / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.2661, allocations: 32.75 kB / 414.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.2664, allocations: 267.8 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2665, allocations: 24.92 kB / 415 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.2665, allocations: 24.38 kB / 415.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.267, allocations: 275.8 kB / 415.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.267, allocations: 0 / 415.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2671, allocations: 12 kB / 415.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2671, allocations: 7.938 kB / 415.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.2675, allocations: 206.1 kB / 415.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.2691, allocations: 1.011 MB / 416.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.2696, allocations: 182.6 kB / 416.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.27, allocations: 157.1 kB / 416.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2701, allocations: 0 / 416.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2701, allocations: 42.47 kB / 416.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.2701, allocations: 0 / 416.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001779/0.2719, allocations: 0.5538 MB / 417.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.272, allocations: 63.33 kB / 417.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.2722, allocations: 221 kB / 417.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2723, allocations: 33.7 kB / 417.8 MB, free: 8.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2724, allocations: 184.1 kB / 418 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.2724, allocations: 67.45 kB / 418 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.2725, allocations: 53.66 kB / 418.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2727, allocations: 326.8 kB / 418.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2729, allocations: 71.95 kB / 418.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2731, allocations: 130.8 kB / 418.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.2735, allocations: 207.9 kB / 418.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.2735, allocations: 7.938 kB / 418.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008729/0.2744, allocations: 353.2 kB / 419.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2744, allocations: 15.03 kB / 419.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2744, allocations: 0 / 419.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/0.2748, allocations: 72.8 kB / 419.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.275, allocations: 51.92 kB / 419.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.2781, allocations: 2.002 MB / 421.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2783, allocations: 31.78 kB / 421.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2783, allocations: 11.98 kB / 421.3 MB, free: 4.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.2784, allocations: 137.7 kB / 421.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.2785, allocations: 23.86 kB / 421.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.2786, allocations: 26.17 kB / 421.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2786, allocations: 4 kB / 421.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2786, allocations: 4.062 kB / 421.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2786, allocations: 128 / 421.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2797, allocations: 0.6667 MB / 422.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2798, allocations: 0 / 422.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.2799, allocations: 35.92 kB / 422.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.2802, allocations: 72.8 kB / 422.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2802, allocations: 4 kB / 422.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.2827, allocations: 1.912 MB / 424.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2827, allocations: 0 / 424.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.2836, allocations: 460 kB / 424.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.2837, allocations: 104.9 kB / 424.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2838, allocations: 4 kB / 424.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.284, allocations: 19.98 kB / 424.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.284, allocations: 12.17 kB / 424.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2841, allocations: 15.94 kB / 424.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.2842, allocations: 168.5 kB / 425 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2842, allocations: 0 / 425 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000429/0.2847, allocations: 79.84 kB / 425.1 MB, free: 0.6758 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.286, allocations: 0.9935 MB / 426.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009625/0.287, allocations: 374.5 kB / 426.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.287, allocations: 0 / 426.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.2873, allocations: 214.8 kB / 426.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.2877, allocations: 40.67 kB / 426.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.2932, allocations: 3.089 MB / 429.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.2936, allocations: 0.748 MB / 430.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.304e-05/0.2937, allocations: 17.95 kB / 430.5 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2938, allocations: 75.41 kB / 430.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2938, allocations: 0 / 430.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.3259, allocations: 5.424 MB / 436 MB, free: 5.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.84, allocations: 11.69 kB / 436 MB, free: 5.676 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv --start-time 0 --stop-time 0.01 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 1.001e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)