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.0008767/0.0008766, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009744/0.0009744, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.577/1.577, allocations: 223.2 MB / 241.2 MB, free: 5.18 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003624, allocations: 7.094 kB / 300.9 MB, free: 5.527 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 50.42 MB / 351.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003214/0.1281, allocations: 2.745 MB / 354.1 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1298, allocations: 0.9046 MB / 355 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.1301, allocations: 4 kB / 355 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1303, allocations: 43.61 kB / 355 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.1307, allocations: 103.2 kB / 355.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.131, allocations: 119.7 kB / 355.3 MB, free: 7.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.1314, allocations: 441.9 kB / 355.7 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1317, allocations: 94.55 kB / 355.8 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1319, allocations: 163.3 kB / 355.9 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1322, allocations: 187.1 kB / 356.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.1322, allocations: 20 kB / 356.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1324, allocations: 51.97 kB / 356.2 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1325, allocations: 71.73 kB / 356.3 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.1326, allocations: 101.5 kB / 356.4 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.133, allocations: 362.9 kB / 356.7 MB, free: 5.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.133, allocations: 0 / 356.7 MB, free: 5.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.133, allocations: 0 / 356.7 MB, free: 5.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.133, allocations: 0 / 356.7 MB, free: 5.805 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.001244/0.1343, allocations: 0.6779 MB / 357.4 MB, free: 5.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1343, allocations: 12.03 kB / 357.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.87e-05/0.1344, allocations: 70.53 kB / 357.5 MB, free: 4.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.1345, allocations: 51.39 kB / 357.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1349, allocations: 286.4 kB / 357.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1349, allocations: 24.66 kB / 357.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.135, allocations: 39.89 kB / 357.9 MB, free: 4.559 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.1356, allocations: 357 kB / 358.2 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1356, allocations: 0 / 358.2 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.1357, allocations: 12 kB / 358.2 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.1357, allocations: 11.95 kB / 358.2 MB, free: 4.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.1362, allocations: 242.5 kB / 358.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.1382, allocations: 1.19 MB / 359.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.1389, allocations: 296.4 kB / 359.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.1394, allocations: 219.8 kB / 360.2 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008318/0.1402, allocations: 1.121 MB / 361.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1403, allocations: 38.8 kB / 361.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.1403, allocations: 0 / 361.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001388/0.1417, allocations: 0.5484 MB / 361.9 MB, free: 160 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1417, allocations: 81.06 kB / 362 MB, free: 60 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.1421, allocations: 332.5 kB / 362.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.1422, allocations: 33.7 kB / 362.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1423, allocations: 212.1 kB / 362.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.1424, allocations: 102.5 kB / 362.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.1424, allocations: 4 kB / 362.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1426, allocations: 346.8 kB / 363 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.1428, allocations: 108.7 kB / 363.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1431, allocations: 189.8 kB / 363.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.1434, allocations: 128 kB / 363.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1434, allocations: 0 / 363.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007969/0.1442, allocations: 441.9 kB / 363.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1442, allocations: 10.34 kB / 363.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1442, allocations: 0 / 363.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.1445, allocations: 68.81 kB / 363.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.1449, allocations: 83.89 kB / 364 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.1468, allocations: 1.76 MB / 365.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1471, allocations: 55.61 kB / 365.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.1471, allocations: 12 kB / 365.8 MB, free: 12.01 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 (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.0001879/0.1473, allocations: 149.8 kB / 365.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.1474, allocations: 39.48 kB / 366 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.1481, allocations: 338.3 kB / 366.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1481, allocations: 4 kB / 366.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1481, allocations: 0 / 366.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1481, allocations: 3.984 kB / 366.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.1486, allocations: 401.2 kB / 366.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1487, allocations: 3.938 kB / 366.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.149, allocations: 63.89 kB / 366.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.1492, allocations: 60.89 kB / 366.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.1492, allocations: 8 kB / 366.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004296/0.1497, allocations: 0.6031 MB / 367.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1497, allocations: 0 / 367.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.1506, allocations: 0.5405 MB / 368 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/0.1507, allocations: 116.7 kB / 368.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.1508, allocations: 4 kB / 368.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.151, allocations: 27.98 kB / 368.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.1511, allocations: 23.92 kB / 368.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1511, allocations: 8 kB / 368.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.1514, allocations: 231.1 kB / 368.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1514, allocations: 0 / 368.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.1519, allocations: 115.8 kB / 368.5 MB, free: 9.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 (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.001574/0.1535, allocations: 1.1 MB / 369.6 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.1544, allocations: 430.2 kB / 370 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1544, allocations: 0 / 370 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.1548, allocations: 139.9 kB / 370.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1552, allocations: 45.95 kB / 370.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.1595, allocations: 2.422 MB / 372.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.1601, allocations: 0.7916 MB / 373.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.1603, allocations: 42.94 kB / 373.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1605, allocations: 127.3 kB / 373.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1605, allocations: 0 / 373.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.1933, allocations: 6.957 MB / 380.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/0.1937, allocations: 243 kB / 380.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.398, allocations: 0 / 380.8 MB, free: 12.96 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)