Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009816/0.0009816, allocations: 195.3 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 226.5 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008215/0.0008213, allocations: 100 kB / 296.7 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002102/0.0002102, allocations: 8 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 51.3 MB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.001944/0.2014, allocations: 2.209 MB / 410.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.2023, allocations: 0.6511 MB / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.2024, allocations: 4 kB / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.2025, allocations: 33.48 kB / 411 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.2027, allocations: 71.45 kB / 411.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.2028, allocations: 61.86 kB / 411.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.2031, allocations: 286.6 kB / 411.5 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2032, allocations: 75.12 kB / 411.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.2033, allocations: 99.64 kB / 411.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2034, allocations: 107.5 kB / 411.7 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.2035, allocations: 19.27 kB / 411.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.2035, allocations: 12 kB / 411.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.2036, allocations: 47.77 kB / 411.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.2036, allocations: 137.1 kB / 411.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2038, allocations: 216.6 kB / 412.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2038, allocations: 0 / 412.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2038, allocations: 0 / 412.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2038, allocations: 0 / 412.2 MB, free: 23.65 MB / 298.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.0007036/0.2045, allocations: 0.5226 MB / 412.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2046, allocations: 8.031 kB / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.2046, allocations: 58.73 kB / 412.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.2047, allocations: 28.66 kB / 412.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2049, allocations: 251.8 kB / 413 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2049, allocations: 16.94 kB / 413 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.205, allocations: 24.31 kB / 413.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2054, allocations: 229 kB / 413.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2054, allocations: 0 / 413.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2054, allocations: 16 kB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2054, allocations: 4 kB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.2058, allocations: 190.2 kB / 413.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.207, allocations: 0.9163 MB / 414.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.2075, allocations: 222.6 kB / 414.6 MB, free: 21.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.2078, allocations: 124.8 kB / 414.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2078, allocations: 7.922 kB / 414.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.2078, allocations: 34.56 kB / 414.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.2078, allocations: 0 / 414.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001699/0.2096, allocations: 0.6044 MB / 415.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.2096, allocations: 63.28 kB / 415.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2098, allocations: 223.1 kB / 415.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2098, allocations: 29.7 kB / 415.7 MB, free: 19.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.2099, allocations: 163.8 kB / 415.9 MB, free: 19.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2099, allocations: 59.19 kB / 415.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.2099, allocations: 4 kB / 415.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.21, allocations: 334.8 kB / 416.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2101, allocations: 63.97 kB / 416.3 MB, free: 19.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2103, allocations: 117.9 kB / 416.4 MB, free: 19.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.2106, allocations: 192 kB / 416.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2106, allocations: 0 / 416.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000738/0.2113, allocations: 350.1 kB / 416.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.2114, allocations: 141.3 kB / 417.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2114, allocations: 0 / 417.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.2117, allocations: 88.8 kB / 417.2 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2119, allocations: 39.92 kB / 417.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.2141, allocations: 1.865 MB / 419.1 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2143, allocations: 27.78 kB / 419.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2143, allocations: 11.98 kB / 419.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.2143, allocations: 4 kB / 419.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000236/0.2146, allocations: 172.6 kB / 419.3 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.2146, allocations: 0 / 419.3 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.358e-05/0.2146, allocations: 28.78 kB / 419.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2148, allocations: 39.98 kB / 419.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005528/0.2153, allocations: 1.308 MB / 420.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.2154, allocations: 19.78 kB / 420.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2155, allocations: 8.125 kB / 420.7 MB, free: 14.49 MB / 298.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.0001062/0.2156, allocations: 213 kB / 420.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.2156, allocations: 27.88 kB / 420.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2157, allocations: 21.52 kB / 420.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2157, allocations: 0 / 420.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2157, allocations: 4 kB / 421 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2157, allocations: 3.938 kB / 421 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.2166, allocations: 0.6366 MB / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2166, allocations: 3.938 kB / 421.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2167, allocations: 27.92 kB / 421.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.217, allocations: 84.8 kB / 421.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.217, allocations: 4 kB / 421.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.2187, allocations: 1.756 MB / 423.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2187, allocations: 4.016 kB / 423.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.2194, allocations: 463.9 kB / 423.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.2195, allocations: 92.89 kB / 424 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2195, allocations: 12.11 kB / 424 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2197, allocations: 19.98 kB / 424 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.2197, allocations: 20.05 kB / 424.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.2197, allocations: 0 / 424.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2198, allocations: 160.6 kB / 424.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2199, allocations: 0 / 424.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.2203, allocations: 115.7 kB / 424.3 MB, free: 10.61 MB / 298.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.0009341/0.2213, allocations: 0.9862 MB / 425.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009371/0.2222, allocations: 0.5479 MB / 425.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2222, allocations: 0.6875 kB / 425.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.2225, allocations: 206.7 kB / 426.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2229, allocations: 36.53 kB / 426.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.225, allocations: 1.513 MB / 427.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.2252, allocations: 0.744 MB / 428.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.2253, allocations: 70.58 kB / 428.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2253, allocations: 0 / 428.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.112, allocations: 4.118 MB / 432.5 MB, free: 2.223 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)