Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 96.98 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 204.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 8 kB / 306.7 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 51.5 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00325/0.1129, allocations: 2.601 MB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1147, allocations: 0.9671 MB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.115, allocations: 4 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1151, allocations: 39.67 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.1155, allocations: 143.6 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1158, allocations: 111.7 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1162, allocations: 311.4 kB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1164, allocations: 106.5 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1167, allocations: 163.4 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1169, allocations: 183.2 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.1169, allocations: 20 kB / 362.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1171, allocations: 59.89 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.1172, allocations: 75.67 kB / 363 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.1172, allocations: 93.52 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.1176, allocations: 363.2 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1176, allocations: 0 / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1176, allocations: 0 / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1177, allocations: 0 / 363.4 MB, free: 8.551 MB / 302.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.001249/0.1189, allocations: 0.6818 MB / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.119, allocations: 12.03 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.567e-05/0.1191, allocations: 66.53 kB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.1193, allocations: 59.44 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.1197, allocations: 302.3 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.1197, allocations: 24.66 kB / 364.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.1198, allocations: 39.86 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.1204, allocations: 353 kB / 364.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1204, allocations: 0 / 364.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1205, allocations: 12 kB / 364.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.1205, allocations: 12 kB / 365 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.121, allocations: 242.5 kB / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.1228, allocations: 1.182 MB / 366.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.1235, allocations: 298.8 kB / 366.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.1242, allocations: 1.121 MB / 367.8 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1243, allocations: 42.78 kB / 367.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.983e-06/0.1243, allocations: 0 / 367.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001124/0.1254, allocations: 0.4959 MB / 368.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1255, allocations: 81.11 kB / 368.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.1259, allocations: 336.4 kB / 368.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1259, allocations: 37.7 kB / 368.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.126, allocations: 212.2 kB / 369 MB, free: 2.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.1261, allocations: 98.56 kB / 369.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.1261, allocations: 7.938 kB / 369.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1263, allocations: 346.8 kB / 369.4 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1265, allocations: 108.7 kB / 369.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.1268, allocations: 193.5 kB / 369.7 MB, free: 1.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.127, allocations: 128 kB / 369.8 MB, free: 1.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1271, allocations: 0 / 369.8 MB, free: 1.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006222/0.1277, allocations: 377.2 kB / 370.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1277, allocations: 12.25 kB / 370.2 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1277, allocations: 0 / 370.2 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1278, allocations: 11.94 kB / 370.2 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.1282, allocations: 95.89 kB / 370.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1282, allocations: 4 kB / 370.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.1284, allocations: 43.58 kB / 370.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1285, allocations: 16 kB / 370.4 MB, free: 1 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.0001546/0.1286, allocations: 153.7 kB / 370.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1287, allocations: 35.53 kB / 370.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.1294, allocations: 335.2 kB / 370.9 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1294, allocations: 4 kB / 370.9 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1294, allocations: 0 / 370.9 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1294, allocations: 3.984 kB / 370.9 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1299, allocations: 389.2 kB / 371.3 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1299, allocations: 0 / 371.3 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2422/0.3721, allocations: 63.23 kB / 371.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.3726, allocations: 41.47 kB / 371.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.3727, allocations: 12.45 kB / 371.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/0.3732, allocations: 0.5652 MB / 372 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3733, allocations: 2.797 kB / 372 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3746, allocations: 0.5246 MB / 372.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.3748, allocations: 118 kB / 372.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.3748, allocations: 6.578 kB / 372.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.3752, allocations: 30.39 kB / 372.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.3752, allocations: 14.88 kB / 372.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.3753, allocations: 13.78 kB / 372.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003567/0.3756, allocations: 235.6 kB / 372.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3757, allocations: 1.062 kB / 372.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.3762, allocations: 105.4 kB / 373 MB, free: 18.78 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.001491/0.3777, allocations: 1.09 MB / 374.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.3784, allocations: 279.4 kB / 374.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3784, allocations: 1.156 kB / 374.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.3788, allocations: 136 kB / 374.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3792, allocations: 38.28 kB / 374.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/0.385, allocations: 3.559 MB / 378.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3854, allocations: 0.8009 MB / 378.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003544/0.3858, allocations: 42.7 kB / 378.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.3862, allocations: 126.7 kB / 379.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3862, allocations: 0 / 379.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.4234, allocations: 6.539 MB / 385.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.4237, allocations: 224.9 kB / 385.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.461, allocations: 1.406 kB / 385.8 MB, free: 13.91 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)