Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 175.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.5 MB / 230.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 94.03 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.616e-05, allocations: 4 kB / 337.2 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09223, allocations: 50.43 MB / 387.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2859/0.3781, allocations: 78.38 MB / 466 MB, free: 328 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3784, allocations: 77.7 kB / 466 MB, free: 252 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.3906, allocations: 4.48 MB / 470.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3907, allocations: 0 / 470.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.3907, allocations: 12 kB / 470.5 MB, free: 11.75 MB / 346.7 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.000653/0.3914, allocations: 0.5072 MB / 471 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3914, allocations: 12.03 kB / 471 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.3915, allocations: 23.72 kB / 471.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3918, allocations: 267 kB / 471.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3918, allocations: 8 kB / 471.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3918, allocations: 16 kB / 471.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002762/0.3921, allocations: 153.5 kB / 471.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3925, allocations: 222.5 kB / 471.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3925, allocations: 0 / 471.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3925, allocations: 6.188 kB / 471.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3925, allocations: 4 kB / 471.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.394, allocations: 0.9678 MB / 472.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.3943, allocations: 146.5 kB / 472.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.3946, allocations: 136.8 kB / 473 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3947, allocations: 4 kB / 473 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3947, allocations: 30.56 kB / 473 MB, free: 9.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.532e-06/0.3947, allocations: 0 / 473 MB, free: 9.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006006/0.3953, allocations: 231.6 kB / 473.2 MB, free: 8.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3954, allocations: 55.41 kB / 473.3 MB, free: 8.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3955, allocations: 185.9 kB / 473.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.3956, allocations: 29.7 kB / 473.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3957, allocations: 175.8 kB / 473.7 MB, free: 8.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.3957, allocations: 63.09 kB / 473.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.3957, allocations: 0 / 473.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3958, allocations: 330.8 kB / 474 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.3959, allocations: 48 kB / 474.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.396, allocations: 107 kB / 474.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.3961, allocations: 56.91 kB / 474.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3962, allocations: 8 kB / 474.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005869/0.3968, allocations: 282.1 kB / 474.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3968, allocations: 7.953 kB / 474.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3968, allocations: 4 kB / 474.6 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.397, allocations: 52.83 kB / 474.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3972, allocations: 51.94 kB / 474.7 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.3989, allocations: 1.619 MB / 476.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.3991, allocations: 27.77 kB / 476.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.3991, allocations: 8 kB / 476.3 MB, free: 5.578 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.3993, allocations: 119.2 kB / 476.4 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005108/0.3998, allocations: 223.6 kB / 476.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.3999, allocations: 31.61 kB / 476.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3999, allocations: 21.95 kB / 476.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3999, allocations: 0 / 476.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3999, allocations: 4 kB / 476.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3999, allocations: 0 / 476.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.4008, allocations: 0.5543 MB / 477.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4008, allocations: 4 kB / 477.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.401, allocations: 27.98 kB / 477.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.4011, allocations: 48.83 kB / 477.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4011, allocations: 8 kB / 477.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.4031, allocations: 1.705 MB / 479 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4032, allocations: 0 / 479 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.4038, allocations: 391.5 kB / 479.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.4039, allocations: 96.89 kB / 479.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4039, allocations: 0 / 479.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.4041, allocations: 25.06 kB / 479.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.4042, allocations: 15.98 kB / 479.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4042, allocations: 4 kB / 479.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.4043, allocations: 148.4 kB / 479.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4043, allocations: 3.938 kB / 479.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.4048, allocations: 71.75 kB / 479.8 MB, free: 1.895 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.4058, allocations: 0.9177 MB / 480.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.4063, allocations: 249.6 kB / 480.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.4063, allocations: 0 / 480.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.4068, allocations: 262 kB / 481.2 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.4071, allocations: 27.98 kB / 481.2 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4095, allocations: 0.7876 MB / 482 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4098, allocations: 0.7599 MB / 482.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.4099, allocations: 18.06 kB / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.41, allocations: 71.41 kB / 482.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.41, allocations: 0 / 482.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.4317, allocations: 4.08 MB / 486.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.432, allocations: 143.9 kB / 487.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.092, allocations: 0 / 487.1 MB, free: 10.45 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat