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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 90 kB / 16.31 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.0009474, allocations: 180.9 kB / 17.2 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002563, allocations: 5.281 kB / 300.8 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1469, allocations: 50.43 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003288/0.1503, allocations: 2.586 MB / 353.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.152, allocations: 0.9165 MB / 354.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1522, allocations: 4 kB / 354.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.1523, allocations: 47.61 kB / 354.8 MB, free: 8.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.1528, allocations: 139.6 kB / 354.9 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1531, allocations: 107.8 kB / 355 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.1535, allocations: 315.2 kB / 355.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.1538, allocations: 98.56 kB / 355.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.1541, allocations: 167.3 kB / 355.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1543, allocations: 175.3 kB / 355.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.1544, allocations: 23.94 kB / 355.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.1546, allocations: 59.97 kB / 355.9 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.1547, allocations: 67.73 kB / 355.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1548, allocations: 93.52 kB / 356 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.1552, allocations: 362.9 kB / 356.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1552, allocations: 0 / 356.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1552, allocations: 0 / 356.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1552, allocations: 0 / 356.4 MB, free: 6.469 MB / 286.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.001379/0.1566, allocations: 0.678 MB / 357 MB, free: 5.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.1567, allocations: 8.031 kB / 357 MB, free: 5.734 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.1568, allocations: 70.53 kB / 357.1 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.1569, allocations: 47.39 kB / 357.2 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1573, allocations: 302.2 kB / 357.5 MB, free: 5.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.1574, allocations: 28.66 kB / 357.5 MB, free: 5.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.1574, allocations: 32 kB / 357.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.1581, allocations: 353 kB / 357.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1581, allocations: 3.938 kB / 357.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.1582, allocations: 12 kB / 357.9 MB, free: 4.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1582, allocations: 11.95 kB / 357.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.1588, allocations: 246.5 kB / 358.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.1611, allocations: 1.178 MB / 359.3 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.1618, allocations: 295.6 kB / 359.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009851/0.1628, allocations: 1.129 MB / 360.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.812e-05/0.1629, allocations: 38.8 kB / 360.8 MB, free: 1.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.1629, allocations: 3.938 kB / 360.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.00126/0.1642, allocations: 0.4942 MB / 361.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1643, allocations: 81.11 kB / 361.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.1647, allocations: 328.5 kB / 361.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1647, allocations: 29.7 kB / 361.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1649, allocations: 216.1 kB / 361.9 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.165, allocations: 102.5 kB / 362 MB, free: 308 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.165, allocations: 4 kB / 362 MB, free: 304 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1652, allocations: 350.8 kB / 362.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1654, allocations: 112.7 kB / 362.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.1658, allocations: 189.8 kB / 362.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1661, allocations: 128 kB / 362.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1661, allocations: 0 / 362.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006936/0.1668, allocations: 385 kB / 363.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.1668, allocations: 6.344 kB / 363.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1668, allocations: 4 kB / 363.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.266e-05/0.1669, allocations: 4 kB / 363.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.1673, allocations: 104.1 kB / 363.3 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.1673, allocations: 8 kB / 363.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.1676, allocations: 39.59 kB / 363.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.1677, allocations: 19.92 kB / 363.3 MB, free: 14.93 MB / 302.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.1679, allocations: 153.7 kB / 363.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.168, allocations: 39.61 kB / 363.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007446/0.1687, allocations: 342.1 kB / 363.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1688, allocations: 0 / 363.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1688, allocations: 3.953 kB / 363.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1688, allocations: 7.938 kB / 363.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.1693, allocations: 393.2 kB / 364.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1693, allocations: 0 / 364.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.1697, allocations: 67.89 kB / 364.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.1699, allocations: 36.84 kB / 364.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.17, allocations: 7.984 kB / 364.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004467/0.1704, allocations: 0.568 MB / 364.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1704, allocations: 3.938 kB / 364.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.1714, allocations: 0.521 MB / 365.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1715, allocations: 116.6 kB / 365.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1716, allocations: 8 kB / 365.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.1718, allocations: 27.98 kB / 365.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.1719, allocations: 15.97 kB / 365.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1719, allocations: 8 kB / 365.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.1722, allocations: 235 kB / 365.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1722, allocations: 0 / 365.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.1727, allocations: 103.8 kB / 366 MB, free: 12.16 MB / 302.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.1741, allocations: 1.092 MB / 367 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.1747, allocations: 275.8 kB / 367.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1747, allocations: 0 / 367.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.1751, allocations: 139.9 kB / 367.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1754, allocations: 33.92 kB / 367.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.1797, allocations: 3.563 MB / 371 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.1803, allocations: 0.7994 MB / 371.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.1805, allocations: 34.97 kB / 371.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.1807, allocations: 123.4 kB / 372 MB, free: 5.984 MB / 302.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1807, allocations: 0 / 372 MB, free: 5.984 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.2023, allocations: 6.553 MB / 378.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.2025, allocations: 229.8 kB / 378.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.334, allocations: 0 / 378.8 MB, free: 15.41 MB / 318.1 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)