Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_cpp_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.002248/0.002255, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 88.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.814e-05, allocations: 4 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3416, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4692, allocations: 78.42 MB / 440.9 MB, free: 7.793 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4696, allocations: 67.97 kB / 440.9 MB, free: 7.727 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03976/0.5093, allocations: 8.319 MB / 449.2 MB, free: 15.44 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5094, allocations: 0.6562 kB / 449.2 MB, free: 15.44 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.5094, allocations: 8 kB / 449.2 MB, free: 15.43 MB / 347.1 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.001547/0.511, allocations: 0.6261 MB / 449.9 MB, free: 14.76 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.5111, allocations: 12.03 kB / 449.9 MB, free: 14.75 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.5112, allocations: 43.44 kB / 449.9 MB, free: 14.71 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.5118, allocations: 298.2 kB / 450.2 MB, free: 14.38 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.5119, allocations: 8 kB / 450.2 MB, free: 14.37 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.512, allocations: 25.59 kB / 450.3 MB, free: 14.34 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006151/0.5126, allocations: 193.5 kB / 450.4 MB, free: 14.16 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.5133, allocations: 281.4 kB / 450.7 MB, free: 13.87 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5134, allocations: 3.938 kB / 450.7 MB, free: 13.86 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.5134, allocations: 0 / 450.7 MB, free: 13.86 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5134, allocations: 8 kB / 450.7 MB, free: 13.86 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.5166, allocations: 1.118 MB / 451.8 MB, free: 12.67 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.5173, allocations: 223.6 kB / 452.1 MB, free: 12.44 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.518, allocations: 190.7 kB / 452.2 MB, free: 12.25 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.519, allocations: 1.129 MB / 453.4 MB, free: 10.87 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5191, allocations: 30.8 kB / 453.4 MB, free: 10.83 MB / 347.1 MB Notification: Performance of pre-optimization done (n=27): time 2.786e-06/0.5191, allocations: 0 / 453.4 MB, free: 10.83 MB / 347.1 MB Notification: Performance of matching and sorting (n=27): time 0.001019/0.5202, allocations: 270 kB / 453.7 MB, free: 10.56 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.5202, allocations: 81.11 kB / 453.8 MB, free: 10.46 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.5207, allocations: 246.3 kB / 454 MB, free: 10.21 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.5207, allocations: 25.7 kB / 454 MB, free: 10.18 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.5209, allocations: 266.6 kB / 454.3 MB, free: 9.918 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5211, allocations: 98.56 kB / 454.4 MB, free: 9.82 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.5211, allocations: 1.031 kB / 454.4 MB, free: 9.82 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5212, allocations: 322.8 kB / 454.7 MB, free: 9.496 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.5215, allocations: 84.75 kB / 454.8 MB, free: 9.41 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.5218, allocations: 161.4 kB / 454.9 MB, free: 9.223 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.5222, allocations: 104.7 kB / 455 MB, free: 9.121 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5222, allocations: 0 / 455 MB, free: 9.121 MB / 347.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001057/0.5232, allocations: 351.9 kB / 455.4 MB, free: 8.773 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5233, allocations: 4 kB / 455.4 MB, free: 8.77 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5233, allocations: 4 kB / 455.4 MB, free: 8.766 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.5237, allocations: 58.14 kB / 455.4 MB, free: 8.707 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.5244, allocations: 83.89 kB / 455.5 MB, free: 8.625 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.5268, allocations: 1.703 MB / 457.2 MB, free: 6.809 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.5273, allocations: 31.67 kB / 457.3 MB, free: 6.777 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.5274, allocations: 16 kB / 457.3 MB, free: 6.762 MB / 347.1 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.0001511/0.5275, allocations: 108.9 kB / 457.4 MB, free: 6.648 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008682/0.5284, allocations: 278.2 kB / 457.6 MB, free: 6.367 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.5285, allocations: 31.62 kB / 457.7 MB, free: 6.336 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.5294, allocations: 284.4 kB / 458 MB, free: 6.055 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.5294, allocations: 4 kB / 458 MB, free: 6.051 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5294, allocations: 4 kB / 458 MB, free: 6.047 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5295, allocations: 4 kB / 458 MB, free: 6.043 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.5301, allocations: 341.8 kB / 458.3 MB, free: 5.672 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.403e-06/0.5301, allocations: 0 / 458.3 MB, free: 5.672 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.5308, allocations: 63.89 kB / 458.4 MB, free: 5.609 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/0.5311, allocations: 60.78 kB / 458.4 MB, free: 5.547 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.5312, allocations: 4 kB / 458.4 MB, free: 5.543 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006571/0.5318, allocations: 0.6092 MB / 459 MB, free: 4.91 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5319, allocations: 0 / 459 MB, free: 4.91 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.533, allocations: 472.9 kB / 459.5 MB, free: 4.426 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.5332, allocations: 112.7 kB / 459.6 MB, free: 4.297 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.5333, allocations: 7.953 kB / 459.6 MB, free: 4.289 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.5338, allocations: 15.98 kB / 459.6 MB, free: 4.273 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.5339, allocations: 15.97 kB / 459.6 MB, free: 4.258 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.5339, allocations: 16 kB / 459.7 MB, free: 4.242 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.5342, allocations: 190 kB / 459.8 MB, free: 4.059 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5342, allocations: 0 / 459.8 MB, free: 4.059 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007377/0.535, allocations: 99.78 kB / 459.9 MB, free: 3.961 MB / 347.1 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.001666/0.5367, allocations: 1.034 MB / 461 MB, free: 2.895 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.5377, allocations: 352.6 kB / 461.3 MB, free: 2.543 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5378, allocations: 0 / 461.3 MB, free: 2.543 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.5382, allocations: 120.4 kB / 461.4 MB, free: 2.426 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.5387, allocations: 41.31 kB / 461.5 MB, free: 2.387 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.5409, allocations: 0.7567 MB / 462.2 MB, free: 1.586 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.5414, allocations: 0.8028 MB / 463 MB, free: 0.7539 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.5418, allocations: 131.3 kB / 463.2 MB, free: 0.625 MB / 347.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5418, allocations: 0 / 463.2 MB, free: 0.625 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.832/3.374, allocations: 6.51 MB / 469.7 MB, free: 10.16 MB / 363.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)