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.001377/0.001377, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.398/1.398, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009765/0.0009765, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.568e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08349, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.3923, allocations: 79.07 MB / 449.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3926, allocations: 66.59 kB / 449.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.4153, allocations: 8.394 MB / 457.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4153, allocations: 0 / 457.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.4153, allocations: 8 kB / 457.7 MB, free: 7.043 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.0009354/0.4163, allocations: 0.6251 MB / 458.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4163, allocations: 8.031 kB / 458.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.886e-05/0.4164, allocations: 70.03 kB / 458.4 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.4165, allocations: 47.44 kB / 458.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.4168, allocations: 297.7 kB / 458.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4168, allocations: 26.91 kB / 458.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.4169, allocations: 36.91 kB / 458.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.4174, allocations: 323.4 kB / 459.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4174, allocations: 4 kB / 459.1 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.4175, allocations: 12.5 kB / 459.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4175, allocations: 8 kB / 459.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.4178, allocations: 211.1 kB / 459.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4196, allocations: 1.186 MB / 460.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.4201, allocations: 256.7 kB / 460.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.4205, allocations: 189.8 kB / 460.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.4213, allocations: 1.121 MB / 462 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4213, allocations: 42.78 kB / 462.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.684e-06/0.4213, allocations: 0 / 462.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005708/0.4219, allocations: 293.7 kB / 462.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4219, allocations: 85.09 kB / 462.5 MB, free: 1.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.4222, allocations: 294.8 kB / 462.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.4223, allocations: 29.7 kB / 462.8 MB, free: 1.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4224, allocations: 216.1 kB / 463 MB, free: 1.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.4225, allocations: 102.5 kB / 463.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.4225, allocations: 12 kB / 463.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4226, allocations: 350.8 kB / 463.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4228, allocations: 84.75 kB / 463.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.423, allocations: 173.8 kB / 463.7 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4232, allocations: 112.1 kB / 463.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4232, allocations: 0 / 463.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006272/0.4238, allocations: 397.4 kB / 464.2 MB, free: 144 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4239, allocations: 4 kB / 464.2 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4239, allocations: 4 kB / 464.2 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.4241, allocations: 69.02 kB / 464.3 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.4245, allocations: 83.94 kB / 464.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.4261, allocations: 1.745 MB / 466.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.4263, allocations: 51.58 kB / 466.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.4264, allocations: 16 kB / 466.2 MB, free: 14.03 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 () * 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.0001011/0.4265, allocations: 128.8 kB / 466.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.4265, allocations: 35.53 kB / 466.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.4271, allocations: 314.8 kB / 466.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4271, allocations: 4.188 kB / 466.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4271, allocations: 0 / 466.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.4271, allocations: 7.922 kB / 466.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.4276, allocations: 389.2 kB / 467 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4276, allocations: 0 / 467 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.4279, allocations: 63.89 kB / 467.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.4281, allocations: 56.83 kB / 467.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.4281, allocations: 8 kB / 467.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003722/0.4285, allocations: 0.6031 MB / 467.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4285, allocations: 4.031 kB / 467.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.4292, allocations: 0.4924 MB / 468.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.4293, allocations: 116.7 kB / 468.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.4293, allocations: 4 kB / 468.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.4296, allocations: 27.98 kB / 468.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.4296, allocations: 19.95 kB / 468.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.4297, allocations: 12 kB / 468.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002201/0.4299, allocations: 226.2 kB / 468.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4299, allocations: 0 / 468.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004212/0.4303, allocations: 115.8 kB / 468.8 MB, free: 11.29 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.0009813/0.4313, allocations: 1.065 MB / 469.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.432, allocations: 378.5 kB / 470.2 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.432, allocations: 4.062 kB / 470.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.4322, allocations: 135.8 kB / 470.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4325, allocations: 34.84 kB / 470.4 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.4337, allocations: 0.7536 MB / 471.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.434, allocations: 0.8072 MB / 471.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.4342, allocations: 38.95 kB / 472 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.4344, allocations: 127.4 kB / 472.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4344, allocations: 0 / 472.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.4566, allocations: 6.832 MB / 478.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.4568, allocations: 196.3 kB / 479.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.34, allocations: 0 / 479.1 MB, free: 0.8008 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)