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.0009215/0.0009216, allocations: 177.1 kB / 8.349 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.31/1.31, allocations: 221.5 MB / 230.3 MB, free: 7.547 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.001076/0.001076, allocations: 95.06 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2e-05, allocations: 4 kB / 337.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 50.42 MB / 387.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4866, allocations: 80.15 MB / 467.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4869, allocations: 67.95 kB / 467.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0237/0.5106, allocations: 8.605 MB / 476.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5106, allocations: 3.938 kB / 476.4 MB, free: 5.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5107, allocations: 8 kB / 476.4 MB, free: 5.809 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.000939/0.5116, allocations: 0.62 MB / 477 MB, free: 5.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5117, allocations: 12.02 kB / 477 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.5118, allocations: 47.44 kB / 477.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.5121, allocations: 286.3 kB / 477.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.5121, allocations: 12 kB / 477.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.5122, allocations: 35.83 kB / 477.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003554/0.5126, allocations: 189.5 kB / 477.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.513, allocations: 289.3 kB / 477.9 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.513, allocations: 4 kB / 477.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.5131, allocations: 0 / 477.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5131, allocations: 8 kB / 477.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.5148, allocations: 1.107 MB / 479 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.5153, allocations: 237.6 kB / 479.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.5157, allocations: 181.3 kB / 479.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.5164, allocations: 1.125 MB / 480.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5164, allocations: 38.8 kB / 480.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.402e-06/0.5164, allocations: 0 / 480.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005631/0.517, allocations: 268.9 kB / 480.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.5171, allocations: 81.11 kB / 480.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.5173, allocations: 242.3 kB / 481.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.5173, allocations: 25.7 kB / 481.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5175, allocations: 220.2 kB / 481.4 MB, free: 344 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.5175, allocations: 98.55 kB / 481.5 MB, free: 244 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.5176, allocations: 0 / 481.5 MB, free: 244 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5177, allocations: 338.8 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5178, allocations: 84.73 kB / 481.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.518, allocations: 161.4 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.5182, allocations: 108.4 kB / 482.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5182, allocations: 3.938 kB / 482.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005985/0.5189, allocations: 357.5 kB / 482.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5189, allocations: 12 kB / 482.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5189, allocations: 0 / 482.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.5191, allocations: 60.78 kB / 482.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.5195, allocations: 83.89 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.521, allocations: 1.701 MB / 484.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.5212, allocations: 35.58 kB / 484.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.5213, allocations: 12 kB / 484.4 MB, free: 13.14 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 9.324e-05/0.5214, allocations: 110.8 kB / 484.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004528/0.5218, allocations: 270.3 kB / 484.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.5219, allocations: 31.67 kB / 484.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.5224, allocations: 293.7 kB / 485.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5224, allocations: 7.953 kB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.5224, allocations: 4 kB / 485.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5225, allocations: 3.984 kB / 485.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.5228, allocations: 337.8 kB / 485.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5228, allocations: 0 / 485.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.5232, allocations: 55.95 kB / 485.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.5234, allocations: 52.83 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.5234, allocations: 8 kB / 485.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003847/0.5238, allocations: 0.6186 MB / 486.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5238, allocations: 0 / 486.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.5244, allocations: 464.5 kB / 486.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.5245, allocations: 112.7 kB / 486.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.5246, allocations: 0 / 486.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.5248, allocations: 19.98 kB / 486.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5249, allocations: 19.97 kB / 486.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.5249, allocations: 8 kB / 486.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.5251, allocations: 197.9 kB / 487 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.5251, allocations: 0 / 487 MB, free: 10.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004398/0.5255, allocations: 107.8 kB / 487.1 MB, free: 10.33 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.0009585/0.5265, allocations: 1.038 MB / 488.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.5271, allocations: 357.4 kB / 488.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5271, allocations: 0 / 488.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.5274, allocations: 116.4 kB / 488.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5276, allocations: 24.77 kB / 488.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5288, allocations: 0.7354 MB / 489.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.5292, allocations: 0.7991 MB / 490.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.5293, allocations: 35.73 kB / 490.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.5295, allocations: 123.4 kB / 490.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.5295, allocations: 0 / 490.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.5556, allocations: 5.803 MB / 496.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/0.5559, allocations: 164.1 kB / 496.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.569, allocations: 0 / 496.3 MB, free: 1.039 MB / 362.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)