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.0009446/0.0009447, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003733/0.1424, allocations: 2.764 MB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1447, allocations: 0.9436 MB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.1451, allocations: 4 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1453, allocations: 51.59 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.1459, allocations: 103.2 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1463, allocations: 119.7 kB / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.1469, allocations: 430.1 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.1472, allocations: 110.5 kB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.1476, allocations: 159.4 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1479, allocations: 179.2 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.1479, allocations: 27.94 kB / 363.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.1481, allocations: 63.95 kB / 363.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1482, allocations: 67.73 kB / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.1483, allocations: 97.45 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.1486, allocations: 359.2 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1487, allocations: 3.938 kB / 363.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1487, allocations: 4 kB / 363.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1487, allocations: 0 / 363.8 MB, free: 8.488 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.001263/0.15, allocations: 0.6896 MB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.15, allocations: 8.031 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.1501, allocations: 70.53 kB / 364.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.1503, allocations: 55.44 kB / 364.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1507, allocations: 294.3 kB / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.1508, allocations: 24.66 kB / 364.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.1508, allocations: 43.86 kB / 364.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.1515, allocations: 349 kB / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1515, allocations: 4 kB / 365.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1516, allocations: 16 kB / 365.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1516, allocations: 8 kB / 365.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.1521, allocations: 238.4 kB / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.154, allocations: 1.19 MB / 366.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.1547, allocations: 295.7 kB / 367 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.1551, allocations: 213.3 kB / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008465/0.156, allocations: 1.125 MB / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.156, allocations: 38.8 kB / 368.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.334e-06/0.1561, allocations: 0 / 368.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.00133/0.1574, allocations: 0.5424 MB / 368.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1575, allocations: 85.11 kB / 369 MB, free: 2.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1578, allocations: 336.4 kB / 369.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1578, allocations: 29.7 kB / 369.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.158, allocations: 208.1 kB / 369.6 MB, free: 2.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.1581, allocations: 106.5 kB / 369.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.1581, allocations: 4 kB / 369.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1582, allocations: 346.8 kB / 370 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1585, allocations: 116.7 kB / 370.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.1588, allocations: 197.5 kB / 370.3 MB, free: 1.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1591, allocations: 124 kB / 370.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1591, allocations: 3.938 kB / 370.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000768/0.1599, allocations: 438.1 kB / 370.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1599, allocations: 7.984 kB / 370.9 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1599, allocations: 4 kB / 370.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/0.1602, allocations: 68.77 kB / 370.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1605, allocations: 75.89 kB / 371 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2374/0.3979, allocations: 1.756 MB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.3983, allocations: 44.91 kB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3984, allocations: 14.52 kB / 372.8 MB, free: 18.34 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.0002049/0.3986, allocations: 161 kB / 373 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.3987, allocations: 34.34 kB / 373 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007885/0.3995, allocations: 347 kB / 373.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3995, allocations: 3.359 kB / 373.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.3995, allocations: 0.9062 kB / 373.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3995, allocations: 9.562 kB / 373.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.4, allocations: 393.2 kB / 373.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4, allocations: 0.6094 kB / 373.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.4004, allocations: 60.2 kB / 373.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.4007, allocations: 59 kB / 373.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.4007, allocations: 11.31 kB / 373.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00041/0.4011, allocations: 0.5997 MB / 374.5 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4011, allocations: 4.656 kB / 374.5 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4023, allocations: 0.5365 MB / 375 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4025, allocations: 110.8 kB / 375.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.4025, allocations: 7.656 kB / 375.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.4028, allocations: 27.14 kB / 375.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.4029, allocations: 17.73 kB / 375.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.4029, allocations: 9.516 kB / 375.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.4032, allocations: 232.2 kB / 375.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4032, allocations: 0 / 375.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.4038, allocations: 111.7 kB / 375.5 MB, free: 17.1 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.001525/0.4054, allocations: 1.106 MB / 376.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009878/0.4064, allocations: 436 kB / 377.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4064, allocations: 1.375 kB / 377.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.4068, allocations: 145.1 kB / 377.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4073, allocations: 47.48 kB / 377.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.4115, allocations: 2.426 MB / 379.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.4118, allocations: 0.7909 MB / 380.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.412, allocations: 39.86 kB / 380.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4122, allocations: 123.8 kB / 380.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4122, allocations: 1.5 kB / 380.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4375, allocations: 6.964 MB / 387.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.4378, allocations: 236 kB / 387.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.599, allocations: 0 / 387.8 MB, free: 12.43 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)