Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009089, allocations: 92.5 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002601, allocations: 8 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.288, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3991, allocations: 78.94 MB / 480.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3993, allocations: 83.94 kB / 480.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.4113, allocations: 4.276 MB / 484.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4113, allocations: 0 / 484.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.4114, allocations: 4 kB / 484.9 MB, free: 13.16 MB / 362.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.000846/0.4122, allocations: 0.5262 MB / 485.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4123, allocations: 8.031 kB / 485.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.412e-05/0.4123, allocations: 62.48 kB / 485.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.4124, allocations: 23.72 kB / 485.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.4128, allocations: 247.2 kB / 485.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.4128, allocations: 16.55 kB / 485.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.4128, allocations: 28 kB / 485.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.4133, allocations: 228.8 kB / 486 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4133, allocations: 352 / 486 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.4133, allocations: 11.95 kB / 486 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4134, allocations: 8 kB / 486 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.4138, allocations: 190.2 kB / 486.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.4154, allocations: 0.966 MB / 487.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.4161, allocations: 230.3 kB / 487.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.4161, allocations: 0 / 487.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4162, allocations: 34.56 kB / 487.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.4162, allocations: 3.938 kB / 487.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001764/0.4179, allocations: 0.5891 MB / 488 MB, free: 9.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.418, allocations: 55.34 kB / 488.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4182, allocations: 210.2 kB / 488.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4182, allocations: 29.7 kB / 488.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4183, allocations: 167.8 kB / 488.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.4184, allocations: 51.25 kB / 488.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.4184, allocations: 4 kB / 488.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4186, allocations: 334.8 kB / 488.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4188, allocations: 67.97 kB / 488.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.419, allocations: 110 kB / 489.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4191, allocations: 78.86 kB / 489.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4192, allocations: 4 kB / 489.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000786/0.4199, allocations: 342.2 kB / 489.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/0.4202, allocations: 0.6132 MB / 490.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4202, allocations: 3.938 kB / 490.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.4206, allocations: 92.8 kB / 490.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.4208, allocations: 35.98 kB / 490.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009386/0.4217, allocations: 0.7045 MB / 490.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.4219, allocations: 35.83 kB / 490.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.422, allocations: 11.94 kB / 491 MB, free: 6.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.422, allocations: 6.812 kB / 491 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002881/0.4223, allocations: 171.5 kB / 491.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.4223, allocations: 4 kB / 491.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.411e-05/0.4223, allocations: 28.8 kB / 491.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4225, allocations: 48.09 kB / 491.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009912/0.4235, allocations: 1.312 MB / 492.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.4237, allocations: 15.89 kB / 492.5 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4237, allocations: 12 kB / 492.6 MB, free: 4.988 MB / 362.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.0001993/0.4239, allocations: 209.1 kB / 492.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.424, allocations: 15.81 kB / 492.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.424, allocations: 33.41 kB / 492.8 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.424, allocations: 4 kB / 492.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.424, allocations: 0 / 492.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.424, allocations: 0 / 492.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.4244, allocations: 285.4 kB / 493.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4244, allocations: 4 kB / 493.1 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4245, allocations: 23.98 kB / 493.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.4248, allocations: 80.86 kB / 493.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4248, allocations: 8 kB / 493.2 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.4272, allocations: 1.787 MB / 495 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4272, allocations: 3.984 kB / 495 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.4282, allocations: 460.2 kB / 495.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4283, allocations: 92.95 kB / 495.5 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.4283, allocations: 7.984 kB / 495.5 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.4285, allocations: 19.98 kB / 495.6 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.4286, allocations: 12.03 kB / 495.6 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4286, allocations: 12 kB / 495.6 MB, free: 1.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.4288, allocations: 164.6 kB / 495.7 MB, free: 1.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4288, allocations: 3.938 kB / 495.7 MB, free: 1.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.4294, allocations: 107.7 kB / 495.9 MB, free: 1.453 MB / 362.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.001414/0.4308, allocations: 0.9973 MB / 496.9 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.4319, allocations: 470.2 kB / 497.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.432, allocations: 0 / 497.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.4323, allocations: 199.4 kB / 497.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.4326, allocations: 32.59 kB / 497.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.4354, allocations: 2.37 MB / 499.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4357, allocations: 0.752 MB / 0.4889 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.4359, allocations: 21.95 kB / 0.4889 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.436, allocations: 63.41 kB / 0.489 GB, free: 12.39 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.436, allocations: 0 / 0.489 GB, free: 12.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.4526, allocations: 4.624 MB / 0.4935 GB, free: 7.969 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.4529, allocations: 220.2 kB / 0.4937 GB, free: 7.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.261, allocations: 0 / 0.4937 GB, free: 7.727 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat