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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 96.16 kB / 16.96 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.001304/0.001304, allocations: 181.2 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004729, allocations: 12 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 47.58 MB / 328.5 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00408/0.1313, allocations: 2.717 MB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1329, allocations: 0.9445 MB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.1331, allocations: 8 kB / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1333, allocations: 39.67 kB / 332.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1336, allocations: 111.1 kB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1338, allocations: 107.8 kB / 332.4 MB, free: 44 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.1344, allocations: 446 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.1347, allocations: 98.55 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.1349, allocations: 155.4 kB / 333.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1352, allocations: 179.2 kB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.1353, allocations: 24 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1354, allocations: 51.97 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.1355, allocations: 75.67 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1356, allocations: 97.45 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.1361, allocations: 363.2 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.1361, allocations: 0 / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1361, allocations: 3.938 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1361, allocations: 0 / 333.8 MB, free: 14.56 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.00135/0.1375, allocations: 0.6896 MB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1375, allocations: 8.031 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.644e-05/0.1376, allocations: 70.53 kB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1377, allocations: 43.44 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1381, allocations: 294.3 kB / 334.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.1382, allocations: 32.61 kB / 335 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.1382, allocations: 35.91 kB / 335 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.1389, allocations: 353 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1389, allocations: 0 / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1389, allocations: 12 kB / 335.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.139, allocations: 8 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.1395, allocations: 246.4 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1414, allocations: 1.182 MB / 336.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.1421, allocations: 291.7 kB / 337.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1425, allocations: 225.3 kB / 337.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008765/0.1434, allocations: 1.121 MB / 338.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1435, allocations: 38.8 kB / 338.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.1435, allocations: 0 / 338.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001369/0.1449, allocations: 0.5437 MB / 339 MB, free: 8.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1449, allocations: 85.05 kB / 339.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.1453, allocations: 341.5 kB / 339.4 MB, free: 8.469 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1454, allocations: 37.7 kB / 339.4 MB, free: 8.426 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1455, allocations: 208.1 kB / 339.6 MB, free: 8.219 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.1456, allocations: 102.5 kB / 339.7 MB, free: 8.117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.1456, allocations: 4 kB / 339.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1458, allocations: 354.7 kB / 340.1 MB, free: 7.758 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.146, allocations: 108.7 kB / 340.2 MB, free: 7.648 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.1463, allocations: 186 kB / 340.4 MB, free: 7.438 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.1466, allocations: 135.5 kB / 340.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1466, allocations: 3.938 kB / 340.5 MB, free: 7.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007619/0.1474, allocations: 437.4 kB / 340.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1474, allocations: 8 kB / 341 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1474, allocations: 4.219 kB / 341 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.1477, allocations: 60.81 kB / 341 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.148, allocations: 83.89 kB / 341.1 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.1498, allocations: 1.756 MB / 342.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1501, allocations: 43.62 kB / 342.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1501, allocations: 16.19 kB / 342.9 MB, free: 4.762 MB / 286.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.00019/0.1503, allocations: 157.7 kB / 343.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.1504, allocations: 39.47 kB / 343.1 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.1511, allocations: 346.3 kB / 343.4 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1511, allocations: 4 kB / 343.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1512, allocations: 3.953 kB / 343.5 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1512, allocations: 0 / 343.5 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.1516, allocations: 393.2 kB / 343.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1516, allocations: 0 / 343.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.152, allocations: 63.89 kB / 343.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.1522, allocations: 52.83 kB / 344 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1522, allocations: 8 kB / 344 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004676/0.1527, allocations: 0.6108 MB / 344.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1527, allocations: 160 / 344.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1537, allocations: 0.5444 MB / 345.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1539, allocations: 136.6 kB / 345.3 MB, free: 2.289 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.1539, allocations: 7.938 kB / 345.3 MB, free: 2.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1542, allocations: 31.97 kB / 345.3 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1542, allocations: 11.98 kB / 345.3 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1543, allocations: 15.98 kB / 345.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.1545, allocations: 231.2 kB / 345.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1545, allocations: 0 / 345.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00046/0.155, allocations: 111.8 kB / 345.7 MB, free: 1.895 MB / 286.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.001477/0.1565, allocations: 1.104 MB / 346.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008968/0.1574, allocations: 426.3 kB / 347.2 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1574, allocations: 0 / 347.2 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1577, allocations: 144.4 kB / 347.3 MB, free: 192 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1582, allocations: 45.38 kB / 347.4 MB, free: 144 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.1624, allocations: 2.43 MB / 349.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.1629, allocations: 0.795 MB / 350.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.1631, allocations: 34.95 kB / 350.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1633, allocations: 131.4 kB / 350.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1634, allocations: 0 / 350.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.1854, allocations: 6.947 MB / 357.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.1857, allocations: 254.8 kB / 357.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.484, allocations: 0 / 357.9 MB, free: 5.445 MB / 302.1 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) Environment - environmentSimulation: