Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.015e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07527, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3683, allocations: 78.66 MB / 441.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.3686, allocations: 74.14 kB / 441.9 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02299/0.3916, allocations: 8.313 MB / 450.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3916, allocations: 0 / 450.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.3917, allocations: 8 kB / 450.2 MB, free: 9.781 MB / 330.7 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.001049/0.3927, allocations: 0.6289 MB / 450.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3928, allocations: 8.031 kB / 450.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.3929, allocations: 47.44 kB / 450.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.3933, allocations: 300.8 kB / 451.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3933, allocations: 8 kB / 451.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.3934, allocations: 23.91 kB / 451.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003419/0.3937, allocations: 191.8 kB / 451.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3942, allocations: 282.3 kB / 451.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3942, allocations: 4 kB / 451.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3943, allocations: 0 / 451.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.3943, allocations: 8 kB / 451.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3961, allocations: 1.115 MB / 452.8 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3966, allocations: 237.9 kB / 453.1 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.397, allocations: 183.7 kB / 453.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007415/0.3977, allocations: 1.12 MB / 454.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3977, allocations: 45.73 kB / 454.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.3978, allocations: 0 / 454.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005644/0.3983, allocations: 265.3 kB / 454.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3984, allocations: 81.11 kB / 454.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3986, allocations: 242 kB / 455 MB, free: 5.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3987, allocations: 33.7 kB / 455 MB, free: 5.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3988, allocations: 216.8 kB / 455.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.3989, allocations: 93.31 kB / 455.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.3989, allocations: 0 / 455.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.399, allocations: 341.4 kB / 455.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3992, allocations: 83.81 kB / 455.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3993, allocations: 160.8 kB / 455.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3995, allocations: 106.6 kB / 456 MB, free: 4.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3995, allocations: 0 / 456 MB, free: 4.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006101/0.4002, allocations: 360.3 kB / 456.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4002, allocations: 4 kB / 456.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4002, allocations: 4.25 kB / 456.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.4004, allocations: 66.69 kB / 456.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.4008, allocations: 79.89 kB / 456.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.4025, allocations: 1.696 MB / 458.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.4028, allocations: 43.64 kB / 458.2 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.4028, allocations: 15.94 kB / 458.2 MB, free: 2.234 MB / 330.7 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 () * 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 (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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.4029, allocations: 112.9 kB / 458.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004707/0.4034, allocations: 276.3 kB / 458.6 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.4035, allocations: 27.72 kB / 458.6 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/0.404, allocations: 283.3 kB / 458.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.404, allocations: 7.984 kB / 458.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.404, allocations: 0 / 458.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.404, allocations: 0 / 458.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.4045, allocations: 338.8 kB / 459.3 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4045, allocations: 4 kB / 459.3 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.4048, allocations: 63.2 kB / 459.3 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.405, allocations: 59.22 kB / 459.4 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.405, allocations: 3.984 kB / 459.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004451/0.4055, allocations: 0.6031 MB / 460 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4055, allocations: 3.984 kB / 460 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.4062, allocations: 476.6 kB / 460.5 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.4063, allocations: 115.7 kB / 460.6 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.4064, allocations: 7.953 kB / 460.6 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.4067, allocations: 19.98 kB / 460.6 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4067, allocations: 15.16 kB / 460.6 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.4068, allocations: 15.11 kB / 460.6 MB, free: 76 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.4069, allocations: 185.7 kB / 460.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.407, allocations: 4 kB / 460.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004645/0.4074, allocations: 107.7 kB / 460.9 MB, free: 15.82 MB / 346.7 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 () * 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 (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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.4085, allocations: 1.033 MB / 462 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.4091, allocations: 349 kB / 462.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4091, allocations: 0 / 462.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4093, allocations: 121.9 kB / 462.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4096, allocations: 30.42 kB / 462.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4109, allocations: 0.7388 MB / 463.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4113, allocations: 0.7989 MB / 464 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.4114, allocations: 35.27 kB / 464 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4116, allocations: 128.3 kB / 464.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4116, allocations: 0 / 464.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.437, allocations: 5.808 MB / 470 MB, free: 7.047 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.4372, allocations: 157.4 kB / 470.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.422, allocations: 0 / 470.1 MB, free: 6.852 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)