Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.001268/0.001268, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.3 MB / 235.5 MB, free: 2.902 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.0008011/0.0008012, allocations: 93.61 kB / 286.5 MB, free: 192 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.354e-05, allocations: 4 kB / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 50.42 MB / 394.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.4165, allocations: 80.81 MB / 475.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.4168, allocations: 69.84 kB / 475.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.4407, allocations: 8.673 MB / 483.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4408, allocations: 0 / 483.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4408, allocations: 11.98 kB / 483.9 MB, free: 13.9 MB / 362.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.0009694/0.4418, allocations: 0.62 MB / 484.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4418, allocations: 12.03 kB / 484.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.4419, allocations: 66.53 kB / 484.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.442, allocations: 47.44 kB / 484.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.4424, allocations: 290.3 kB / 484.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.4424, allocations: 32.72 kB / 485 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.4425, allocations: 39.91 kB / 485 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.443, allocations: 330.9 kB / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4431, allocations: 0 / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.4431, allocations: 12 kB / 485.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.4431, allocations: 8 kB / 485.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.4435, allocations: 215 kB / 485.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.4455, allocations: 1.179 MB / 486.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.446, allocations: 247.8 kB / 487 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.4464, allocations: 195 kB / 487.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/0.4471, allocations: 1.121 MB / 488.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4472, allocations: 42.78 kB / 488.3 MB, free: 9.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.4472, allocations: 0 / 488.3 MB, free: 9.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006254/0.4478, allocations: 288.5 kB / 488.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4479, allocations: 81.11 kB / 488.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.4482, allocations: 298.8 kB / 489 MB, free: 8.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.4483, allocations: 29.7 kB / 489 MB, free: 8.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4484, allocations: 212.1 kB / 489.2 MB, free: 8.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.4485, allocations: 102.6 kB / 489.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.4485, allocations: 8 kB / 489.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4487, allocations: 350.8 kB / 489.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.4488, allocations: 92.69 kB / 489.8 MB, free: 7.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.4491, allocations: 169.8 kB / 489.9 MB, free: 7.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4493, allocations: 104 kB / 490 MB, free: 7.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4493, allocations: 0 / 490 MB, free: 7.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006695/0.4499, allocations: 409.6 kB / 490.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.45, allocations: 8 kB / 490.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.45, allocations: 0 / 490.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.4502, allocations: 68.95 kB / 490.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.4506, allocations: 79.89 kB / 490.6 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.4524, allocations: 1.753 MB / 492.3 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.4527, allocations: 47.52 kB / 492.4 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.4527, allocations: 20.06 kB / 492.4 MB, free: 4.707 MB / 362.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.0001216/0.4529, allocations: 128.8 kB / 492.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.4529, allocations: 35.53 kB / 492.6 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.4535, allocations: 318.6 kB / 492.9 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4535, allocations: 8 kB / 492.9 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4535, allocations: 0 / 492.9 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4535, allocations: 0 / 492.9 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.454, allocations: 389.2 kB / 493.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.454, allocations: 0 / 493.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.4543, allocations: 63.89 kB / 493.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.4545, allocations: 64.77 kB / 493.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.4546, allocations: 8 kB / 493.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000388/0.455, allocations: 0.5992 MB / 494 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.455, allocations: 0 / 494 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.4557, allocations: 496.3 kB / 494.5 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.4558, allocations: 116.7 kB / 494.6 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4558, allocations: 7.953 kB / 494.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4561, allocations: 23.98 kB / 494.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.4562, allocations: 19.97 kB / 494.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4562, allocations: 12 kB / 494.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002361/0.4565, allocations: 226.2 kB / 494.9 MB, free: 2.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4565, allocations: 3.938 kB / 494.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.4569, allocations: 111.8 kB / 495 MB, free: 1.977 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 () * 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.001079/0.458, allocations: 1.065 MB / 496.1 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.4587, allocations: 378.5 kB / 496.4 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4587, allocations: 0.5 kB / 496.4 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.4589, allocations: 131.9 kB / 496.6 MB, free: 376 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4592, allocations: 37.2 kB / 496.6 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4605, allocations: 0.7619 MB / 497.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4608, allocations: 0.8072 MB / 498.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.461, allocations: 34.97 kB / 498.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4612, allocations: 127.4 kB / 498.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4612, allocations: 0 / 498.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.4814, allocations: 6.816 MB / 0.4933 GB, free: 7.922 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.4817, allocations: 198 kB / 0.4935 GB, free: 7.699 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.533, allocations: 0 / 0.4935 GB, free: 7.699 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)