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.001656/0.001656, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001127/0.001127, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.938e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5192, allocations: 79.08 MB / 448.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5195, allocations: 66.91 kB / 448.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03913/0.5586, allocations: 8.395 MB / 456.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5587, allocations: 0 / 456.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.5587, allocations: 8 kB / 456.7 MB, free: 6.969 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.00157/0.5603, allocations: 0.6166 MB / 457.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.5604, allocations: 8.031 kB / 457.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.5605, allocations: 74.16 kB / 457.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.5606, allocations: 47.44 kB / 457.5 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.5612, allocations: 297.3 kB / 457.8 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.5613, allocations: 25.28 kB / 457.8 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.5614, allocations: 37.47 kB / 457.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.5622, allocations: 327.5 kB / 458.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5623, allocations: 0 / 458.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.5623, allocations: 17.31 kB / 458.2 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.5623, allocations: 8 kB / 458.2 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.563, allocations: 210.7 kB / 458.4 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.5661, allocations: 1.185 MB / 459.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.5668, allocations: 250.3 kB / 459.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.5674, allocations: 193.6 kB / 460 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.5686, allocations: 1.125 MB / 461.1 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.5686, allocations: 42.8 kB / 461.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.715e-06/0.5687, allocations: 0 / 461.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009807/0.5696, allocations: 293.7 kB / 461.4 MB, free: 2.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.5697, allocations: 81.11 kB / 461.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.5703, allocations: 294.8 kB / 461.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.5703, allocations: 29.7 kB / 461.8 MB, free: 1.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.5705, allocations: 262.6 kB / 462.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.5707, allocations: 102.5 kB / 462.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.5707, allocations: 12 kB / 462.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5709, allocations: 326.8 kB / 462.5 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.5711, allocations: 88.75 kB / 462.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.5715, allocations: 169.8 kB / 462.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.5719, allocations: 116 kB / 462.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5719, allocations: 4.031 kB / 462.9 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001072/0.573, allocations: 373.7 kB / 463.3 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.573, allocations: 4 kB / 463.3 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.573, allocations: 8.25 kB / 463.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.5734, allocations: 68.77 kB / 463.3 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.5741, allocations: 79.89 kB / 463.4 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.5767, allocations: 1.745 MB / 465.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.5772, allocations: 47.73 kB / 465.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.5773, allocations: 12 kB / 465.2 MB, free: 14.4 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.0001609/0.5774, allocations: 128.8 kB / 465.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.5775, allocations: 35.53 kB / 465.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/0.5785, allocations: 322.8 kB / 465.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5785, allocations: 4 kB / 465.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5785, allocations: 192 / 465.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5785, allocations: 3.984 kB / 465.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.5793, allocations: 401.1 kB / 466.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5793, allocations: 0 / 466.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/0.5799, allocations: 59.95 kB / 466.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.5803, allocations: 60.77 kB / 466.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.5803, allocations: 4 kB / 466.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006039/0.5809, allocations: 0.6031 MB / 466.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.581, allocations: 0 / 466.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5821, allocations: 0.4925 MB / 467.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.5823, allocations: 108.7 kB / 467.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.5824, allocations: 11.94 kB / 467.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.5829, allocations: 27.98 kB / 467.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.5829, allocations: 19.97 kB / 467.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.583, allocations: 4 kB / 467.5 MB, free: 12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004332/0.5834, allocations: 234.2 kB / 467.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5834, allocations: 0 / 467.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006541/0.5841, allocations: 111.8 kB / 467.8 MB, free: 11.66 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.00173/0.5859, allocations: 1.065 MB / 468.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.5869, allocations: 378.1 kB / 469.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.587, allocations: 3.984 kB / 469.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.5874, allocations: 127.8 kB / 469.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.5879, allocations: 45.08 kB / 469.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.5899, allocations: 0.8005 MB / 470.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.5904, allocations: 0.7994 MB / 471 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.5908, allocations: 127.4 kB / 471.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5908, allocations: 3.938 kB / 471.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.076/3.666, allocations: 6.719 MB / 477.9 MB, free: 1.492 MB / 346.7 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)