Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.001364/0.001364, allocations: 99.42 kB / 16.95 MB, free: 6.453 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.001556/0.001556, allocations: 183.8 kB / 17.84 MB, free: 6.004 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.776/1.776, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004965/0.0004965, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002663/0.109, allocations: 2.181 MB / 330.6 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.11, allocations: 0.6674 MB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1102, allocations: 4 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.1103, allocations: 31.7 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1105, allocations: 71.44 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.1107, allocations: 67.92 kB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.111, allocations: 278.7 kB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1111, allocations: 73.05 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1113, allocations: 91.64 kB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1114, allocations: 111.5 kB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.1115, allocations: 16 kB / 332 MB, free: 380 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.1115, allocations: 12 kB / 332.1 MB, free: 368 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.1115, allocations: 47.81 kB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.1116, allocations: 69.58 kB / 332.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1118, allocations: 207.7 kB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1118, allocations: 0 / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1118, allocations: 0 / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1118, allocations: 0 / 332.4 MB, free: 36 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007955/0.1126, allocations: 0.5263 MB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1127, allocations: 8.031 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.1127, allocations: 62.53 kB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.1128, allocations: 27.72 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1131, allocations: 250.5 kB / 333.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1131, allocations: 16.5 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1132, allocations: 24 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.1136, allocations: 224.9 kB / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1136, allocations: 0 / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1136, allocations: 8 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1137, allocations: 11.92 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.1141, allocations: 198.1 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.1155, allocations: 0.9163 MB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.1161, allocations: 230.6 kB / 334.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.1163, allocations: 128.7 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1164, allocations: 0 / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1164, allocations: 34.56 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.1164, allocations: 4 kB / 335 MB, free: 13.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001594/0.118, allocations: 0.5928 MB / 335.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1181, allocations: 55.36 kB / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1183, allocations: 231 kB / 335.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1183, allocations: 29.7 kB / 335.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1184, allocations: 171.8 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1185, allocations: 47.27 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.1185, allocations: 4 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1186, allocations: 330.8 kB / 336.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1188, allocations: 59.97 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.119, allocations: 129.8 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1192, allocations: 71.98 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1192, allocations: 0 / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007611/0.12, allocations: 358 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/0.1201, allocations: 134.2 kB / 337.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1201, allocations: 7.984 kB / 337.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.1204, allocations: 84.73 kB / 337.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1206, allocations: 43.92 kB / 337.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.1232, allocations: 1.869 MB / 339.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.1234, allocations: 27.78 kB / 339.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1234, allocations: 11.98 kB / 339.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.1234, allocations: 4 kB / 339.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002946/0.1237, allocations: 168.8 kB / 339.4 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1237, allocations: 4.031 kB / 339.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.964e-05/0.1238, allocations: 24.84 kB / 339.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.124, allocations: 47.92 kB / 339.5 MB, free: 8.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009352/0.1249, allocations: 1.304 MB / 340.8 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.125, allocations: 27.72 kB / 340.8 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1251, allocations: 12 kB / 340.8 MB, free: 6.965 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001792/0.1252, allocations: 209.1 kB / 341 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.1253, allocations: 15.81 kB / 341 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.1254, allocations: 25.52 kB / 341.1 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1254, allocations: 12 kB / 341.1 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1254, allocations: 0 / 341.1 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1254, allocations: 0 / 341.1 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1265, allocations: 0.6317 MB / 341.7 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1265, allocations: 4 kB / 341.7 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1266, allocations: 23.98 kB / 341.7 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.1269, allocations: 76.8 kB / 341.8 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1269, allocations: 8 kB / 341.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.129, allocations: 1.756 MB / 343.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.129, allocations: 8.062 kB / 343.6 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.1299, allocations: 457.2 kB / 344 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.1299, allocations: 96.86 kB / 344.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.13, allocations: 11.94 kB / 344.1 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1302, allocations: 19.98 kB / 344.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.1302, allocations: 11.98 kB / 344.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1302, allocations: 4 kB / 344.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1304, allocations: 168.6 kB / 344.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1304, allocations: 0 / 344.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.1309, allocations: 115.7 kB / 344.4 MB, free: 3.098 MB / 286.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 (11): * Single equations (assignments): 10 * 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.001125/0.132, allocations: 0.9811 MB / 345.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.1331, allocations: 0.5518 MB / 346 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1331, allocations: 0 / 346 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.1335, allocations: 203.3 kB / 346.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1339, allocations: 36.59 kB / 346.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1366, allocations: 1.473 MB / 347.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.137, allocations: 0.7364 MB / 348.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1371, allocations: 25.94 kB / 348.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.634e-05/0.1372, allocations: 67.42 kB / 348.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1372, allocations: 0 / 348.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.1566, allocations: 4.847 MB / 353.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1569, allocations: 223.9 kB / 353.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.282, allocations: 4 kB / 353.6 MB, free: 9.781 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) Environment - environmentSimulation: