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.001089/0.001089, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 223.1 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 101.2 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002622, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09368/0.3721, allocations: 79.17 MB / 455.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.3724, allocations: 71.95 kB / 455.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02298/0.3954, allocations: 8.4 MB / 463.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3954, allocations: 0 / 463.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.3954, allocations: 8 kB / 463.6 MB, free: 8.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001176/0.3966, allocations: 0.6701 MB / 464.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.3967, allocations: 12.03 kB / 464.2 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.3968, allocations: 70.53 kB / 464.3 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.3969, allocations: 43.44 kB / 464.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.3973, allocations: 302.2 kB / 464.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3973, allocations: 20.66 kB / 464.7 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.3974, allocations: 39.94 kB / 464.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.3981, allocations: 349.8 kB / 465 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3981, allocations: 0 / 465 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3981, allocations: 16 kB / 465.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3982, allocations: 8 kB / 465.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.3987, allocations: 238.5 kB / 465.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.4006, allocations: 1.191 MB / 466.5 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.4013, allocations: 291.5 kB / 466.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000885/0.4022, allocations: 1.136 MB / 467.9 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.4023, allocations: 42.73 kB / 468 MB, free: 4.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.4023, allocations: 0 / 468 MB, free: 4.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001175/0.4035, allocations: 0.498 MB / 468.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.4035, allocations: 81.11 kB / 468.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.4039, allocations: 295.7 kB / 468.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4039, allocations: 29.7 kB / 468.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.4041, allocations: 216 kB / 469.1 MB, free: 2.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.4042, allocations: 98.56 kB / 469.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.4042, allocations: 4 kB / 469.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4043, allocations: 346.8 kB / 469.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.4046, allocations: 116.7 kB / 469.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.4048, allocations: 182 kB / 469.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.4051, allocations: 140.1 kB / 469.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4051, allocations: 0 / 469.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006081/0.4057, allocations: 377 kB / 470.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4058, allocations: 8 kB / 470.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4058, allocations: 0 / 470.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4058, allocations: 8 kB / 470.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.4062, allocations: 95.89 kB / 470.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4062, allocations: 11.88 kB / 470.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.4065, allocations: 47.58 kB / 470.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.4065, allocations: 16 kB / 470.5 MB, free: 1.484 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.4066, allocations: 149.7 kB / 470.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.4067, allocations: 39.58 kB / 470.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.4074, allocations: 336.3 kB / 471 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4074, allocations: 4 kB / 471 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4074, allocations: 0 / 471 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4074, allocations: 0 / 471 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.4078, allocations: 393.2 kB / 471.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4078, allocations: 0 / 471.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.4082, allocations: 67.95 kB / 471.4 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.4084, allocations: 40.8 kB / 471.5 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.4084, allocations: 11.98 kB / 471.5 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004213/0.4089, allocations: 0.5641 MB / 472.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4089, allocations: 4.062 kB / 472.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.4097, allocations: 0.5248 MB / 472.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4099, allocations: 116.6 kB / 472.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.4099, allocations: 8 kB / 472.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.4102, allocations: 23.98 kB / 472.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.4103, allocations: 19.97 kB / 472.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.4103, allocations: 12 kB / 472.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002563/0.4106, allocations: 227.1 kB / 473 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4106, allocations: 0 / 473 MB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.411, allocations: 111.8 kB / 473.1 MB, free: 14.72 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.4122, allocations: 1.102 MB / 474.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.4128, allocations: 275.9 kB / 474.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4128, allocations: 8.062 kB / 474.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.4131, allocations: 131.9 kB / 474.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4134, allocations: 45.3 kB / 474.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.4172, allocations: 3.547 MB / 478.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.4175, allocations: 0.7955 MB / 479 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.4177, allocations: 42.94 kB / 479 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.4179, allocations: 127.4 kB / 479.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4179, allocations: 0 / 479.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.4376, allocations: 6.534 MB / 485.7 MB, free: 2.016 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.4378, allocations: 227.8 kB / 485.9 MB, free: 1.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.564, allocations: 0 / 485.9 MB, free: 1.77 MB / 362.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)