Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004377/0.004376, allocations: 186.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 89.23 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 15.98 kB / 327.1 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3458, allocations: 47.56 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4732, allocations: 77.73 MB / 452.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4736, allocations: 75.97 kB / 452.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01854/0.4922, allocations: 4.126 MB / 456.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4922, allocations: 0 / 456.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.4923, allocations: 4 kB / 456.6 MB, free: 14.8 MB / 346.7 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.001169/0.4934, allocations: 0.5223 MB / 457.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4935, allocations: 8.031 kB / 457.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.4936, allocations: 62.53 kB / 457.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.4937, allocations: 35.72 kB / 457.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.4942, allocations: 252.1 kB / 457.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.4942, allocations: 16.52 kB / 457.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.4943, allocations: 20 kB / 457.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.495, allocations: 224.9 kB / 457.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.495, allocations: 0 / 457.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.4951, allocations: 8 kB / 457.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4951, allocations: 8 kB / 457.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.4959, allocations: 190.2 kB / 457.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.4985, allocations: 0.9787 MB / 458.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4996, allocations: 222.6 kB / 459.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.4996, allocations: 11.89 kB / 459.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4997, allocations: 34.56 kB / 459.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.835e-06/0.4997, allocations: 4 kB / 459.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.003218/0.5029, allocations: 0.5879 MB / 459.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.503, allocations: 55.41 kB / 459.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.5034, allocations: 202.3 kB / 460 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.5034, allocations: 29.7 kB / 460 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.5036, allocations: 226.2 kB / 460.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.5036, allocations: 55.25 kB / 460.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.5037, allocations: 4 kB / 460.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5038, allocations: 330.8 kB / 460.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.5041, allocations: 59.97 kB / 460.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.5045, allocations: 120.6 kB / 460.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.5048, allocations: 74.33 kB / 460.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5049, allocations: 4 kB / 460.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001422/0.5063, allocations: 330.3 kB / 461.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.5066, allocations: 0.62 MB / 461.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5067, allocations: 0 / 461.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.5073, allocations: 88.8 kB / 461.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.5076, allocations: 35.92 kB / 461.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.5093, allocations: 0.6968 MB / 462.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.5096, allocations: 39.66 kB / 462.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.5097, allocations: 11.98 kB / 462.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5097, allocations: 4 kB / 462.7 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000493/0.5102, allocations: 175.2 kB / 462.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5102, allocations: 4 kB / 462.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.5103, allocations: 20.84 kB / 462.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.5107, allocations: 51.91 kB / 462.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.512, allocations: 1.304 MB / 464.2 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.5122, allocations: 15.88 kB / 464.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.5122, allocations: 11.98 kB / 464.3 MB, free: 6.602 MB / 346.7 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.0002949/0.5125, allocations: 213 kB / 464.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.5126, allocations: 23.72 kB / 464.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.5127, allocations: 17.53 kB / 464.5 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5127, allocations: 4.062 kB / 464.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5127, allocations: 11.92 kB / 464.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5127, allocations: 0 / 464.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.5132, allocations: 289.4 kB / 464.8 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5132, allocations: 0 / 464.8 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.5135, allocations: 23.98 kB / 464.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.514, allocations: 80.8 kB / 464.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.514, allocations: 4 kB / 464.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.5179, allocations: 1.795 MB / 466.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.518, allocations: 0 / 466.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5197, allocations: 457 kB / 467.2 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5199, allocations: 96.89 kB / 467.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.5199, allocations: 11.94 kB / 467.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.5203, allocations: 24.05 kB / 467.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.5203, allocations: 11.98 kB / 467.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.5204, allocations: 4 kB / 467.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002406/0.5206, allocations: 160.6 kB / 467.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5206, allocations: 0 / 467.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007333/0.5214, allocations: 115.7 kB / 467.6 MB, free: 3.062 MB / 346.7 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.00205/0.5234, allocations: 0.9977 MB / 468.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.5253, allocations: 442.8 kB / 469 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5253, allocations: 0 / 469 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.5259, allocations: 206.5 kB / 469.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.5264, allocations: 40.89 kB / 469.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.531, allocations: 2.405 MB / 471.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.5315, allocations: 0.752 MB / 472.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.5317, allocations: 67.42 kB / 472.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5317, allocations: 0 / 472.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/3.228, allocations: 4.325 MB / 476.8 MB, free: 9.668 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)