Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.48/1.48, allocations: 227.7 MB / 247 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 71.78 kB / 307.3 MB, free: 396 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1193, allocations: 50.54 MB / 357.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004421/0.1237, allocations: 2.956 MB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1252, allocations: 0.7712 MB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.1255, allocations: 11.94 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.1256, allocations: 55.44 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1259, allocations: 103.2 kB / 361.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1262, allocations: 123.8 kB / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.1267, allocations: 402.3 kB / 362.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.127, allocations: 131.4 kB / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.1271, allocations: 147.4 kB / 362.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1274, allocations: 175.2 kB / 362.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.1274, allocations: 36 kB / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.1275, allocations: 32 kB / 362.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1276, allocations: 75.69 kB / 362.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.1278, allocations: 171.1 kB / 363 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1282, allocations: 374.9 kB / 363.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1282, allocations: 0 / 363.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1282, allocations: 0 / 363.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1282, allocations: 0 / 363.4 MB, free: 8.277 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001105/0.1293, allocations: 0.6317 MB / 364 MB, free: 7.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1294, allocations: 12.03 kB / 364.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.45e-05/0.1295, allocations: 66.72 kB / 364.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.08e-05/0.1296, allocations: 44.47 kB / 364.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.13, allocations: 280.5 kB / 364.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.13, allocations: 21.03 kB / 364.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.1301, allocations: 28.38 kB / 364.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.1308, allocations: 349.1 kB / 364.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1308, allocations: 4 kB / 364.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.1309, allocations: 16 kB / 364.8 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1309, allocations: 8 kB / 364.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.1316, allocations: 282.5 kB / 365.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1336, allocations: 1.174 MB / 366.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.1346, allocations: 298.7 kB / 366.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.1351, allocations: 183.5 kB / 366.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1351, allocations: 4 kB / 366.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1352, allocations: 38.5 kB / 366.8 MB, free: 4.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.815e-06/0.1352, allocations: 3.938 kB / 366.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002813/0.138, allocations: 0.8521 MB / 367.7 MB, free: 3.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.1381, allocations: 55.41 kB / 367.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1385, allocations: 274.6 kB / 368 MB, free: 3.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1385, allocations: 29.7 kB / 368 MB, free: 3.375 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1387, allocations: 211.8 kB / 368.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.1388, allocations: 63.09 kB / 368.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.1389, allocations: 57.61 kB / 368.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.139, allocations: 334.8 kB / 368.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.1393, allocations: 100.8 kB / 368.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.1397, allocations: 195.7 kB / 369 MB, free: 2.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.1403, allocations: 306.8 kB / 369.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1403, allocations: 4 kB / 369.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001479/0.1418, allocations: 0.5259 MB / 369.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1418, allocations: 4 kB / 369.8 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.1418, allocations: 4 kB / 369.8 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.1425, allocations: 145.7 kB / 369.9 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1427, allocations: 51.92 kB / 370 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1866/0.3293, allocations: 3.7 MB / 373.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3297, allocations: 47.8 kB / 373.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3297, allocations: 14.12 kB / 373.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003023/0.3301, allocations: 183.1 kB / 373.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002466/0.3303, allocations: 169.4 kB / 374.1 MB, free: 17.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004211/0.3307, allocations: 262 kB / 374.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.3308, allocations: 1.062 kB / 374.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.00101/0.3318, allocations: 408.7 kB / 374.8 MB, free: 17.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3318, allocations: 10.89 kB / 374.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3318, allocations: 3.25 kB / 374.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.3321, allocations: 94.06 kB / 374.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.3323, allocations: 59.73 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.335, allocations: 3.019 MB / 377.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.3353, allocations: 28.36 kB / 378 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.3353, allocations: 13.56 kB / 378 MB, free: 14.37 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.3355, allocations: 207.1 kB / 378.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.3355, allocations: 26.28 kB / 378.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.3356, allocations: 27.48 kB / 378.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3356, allocations: 6.578 kB / 378.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.3356, allocations: 0 / 378.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3356, allocations: 1.312 kB / 378.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3374, allocations: 0.823 MB / 379.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3374, allocations: 0.6094 kB / 379.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.3375, allocations: 24.81 kB / 379.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.338, allocations: 134.8 kB / 379.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.338, allocations: 5.375 kB / 379.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/0.3417, allocations: 3.422 MB / 382.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3418, allocations: 0 / 382.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.3433, allocations: 0.6095 MB / 383.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3435, allocations: 102.2 kB / 383.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3435, allocations: 5.656 kB / 383.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3438, allocations: 25.61 kB / 383.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3439, allocations: 25.64 kB / 383.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3439, allocations: 8.812 kB / 383.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3442, allocations: 192.6 kB / 383.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3442, allocations: 0 / 383.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008218/0.345, allocations: 161.6 kB / 383.8 MB, free: 10.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/0.3469, allocations: 1.145 MB / 384.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.3488, allocations: 0.9189 MB / 385.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3489, allocations: 0.8438 kB / 385.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.3493, allocations: 345 kB / 386.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.3498, allocations: 53.89 kB / 386.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.3554, allocations: 3.38 MB / 389.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3557, allocations: 0.7679 MB / 390.4 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.3559, allocations: 33.45 kB / 390.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.356, allocations: 87.64 kB / 390.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.356, allocations: 0 / 390.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/0.4063, allocations: 7.667 MB / 398.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.22, allocations: 19.33 kB / 398.2 MB, free: 3.031 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)