Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.002478/0.002478, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 85.06 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.717e-05, allocations: 4 kB / 314.9 MB, free: 9.035 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3351, allocations: 47.56 MB / 362.4 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4642, allocations: 78.65 MB / 441.1 MB, free: 7.629 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4646, allocations: 79.95 kB / 441.2 MB, free: 7.551 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02929/0.4939, allocations: 6.004 MB / 447.2 MB, free: 1.574 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4939, allocations: 0 / 447.2 MB, free: 1.574 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.494, allocations: 8 kB / 447.2 MB, free: 1.566 MB / 331.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.001508/0.4955, allocations: 0.5906 MB / 447.8 MB, free: 0.9297 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4956, allocations: 12.02 kB / 447.8 MB, free: 0.918 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.4957, allocations: 35.62 kB / 447.8 MB, free: 0.8828 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.4962, allocations: 280.3 kB / 448.1 MB, free: 0.5664 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4963, allocations: 7.984 kB / 448.1 MB, free: 0.5586 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.4964, allocations: 16 kB / 448.1 MB, free: 0.543 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/0.4969, allocations: 165 kB / 448.3 MB, free: 392 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.4974, allocations: 181.5 kB / 448.5 MB, free: 204 kB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4974, allocations: 1.062 kB / 448.5 MB, free: 204 kB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4975, allocations: 8 kB / 448.5 MB, free: 196 kB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4975, allocations: 4 kB / 448.5 MB, free: 192 kB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.5002, allocations: 0.9235 MB / 449.4 MB, free: 15.2 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.5007, allocations: 158.6 kB / 449.5 MB, free: 15.04 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5009, allocations: 60.86 kB / 449.6 MB, free: 14.97 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.501, allocations: 12.03 kB / 449.6 MB, free: 14.96 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.5013, allocations: 130.2 kB / 449.7 MB, free: 14.81 MB / 347.1 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.5013, allocations: 0 / 449.7 MB, free: 14.81 MB / 347.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008742/0.5022, allocations: 222.1 kB / 450 MB, free: 14.59 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.5023, allocations: 114.7 kB / 450.1 MB, free: 14.45 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.5027, allocations: 212.5 kB / 450.3 MB, free: 14.23 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.5027, allocations: 25.7 kB / 450.3 MB, free: 14.2 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.5029, allocations: 242.3 kB / 450.5 MB, free: 13.96 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.503, allocations: 51.3 kB / 450.6 MB, free: 13.91 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.503, allocations: 1.031 kB / 450.6 MB, free: 13.91 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5032, allocations: 326.8 kB / 450.9 MB, free: 13.59 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.5034, allocations: 52.23 kB / 451 MB, free: 13.53 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.5036, allocations: 117.1 kB / 451.1 MB, free: 13.39 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.5038, allocations: 60.7 kB / 451.1 MB, free: 13.33 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5038, allocations: 4 kB / 451.1 MB, free: 13.32 MB / 347.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009773/0.5048, allocations: 264.8 kB / 451.4 MB, free: 13.06 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003481/0.5052, allocations: 0.6374 MB / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5052, allocations: 0 / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.5056, allocations: 61.66 kB / 452.1 MB, free: 12.3 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.506, allocations: 53.2 kB / 452.2 MB, free: 12.25 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005977/0.5066, allocations: 0.5874 MB / 452.7 MB, free: 11.64 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.5072, allocations: 51.75 kB / 452.8 MB, free: 11.59 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.5073, allocations: 15.98 kB / 452.8 MB, free: 11.58 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5073, allocations: 0 / 452.8 MB, free: 11.58 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006263/0.508, allocations: 206.1 kB / 453 MB, free: 11.38 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.508, allocations: 0 / 453 MB, free: 11.38 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.5082, allocations: 40.83 kB / 453 MB, free: 11.34 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.5086, allocations: 47.91 kB / 453.1 MB, free: 11.29 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.5104, allocations: 1.482 MB / 454.6 MB, free: 9.688 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.5108, allocations: 43.91 kB / 454.6 MB, free: 9.645 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.5109, allocations: 8 kB / 454.6 MB, free: 9.637 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.5111, allocations: 120.7 kB / 454.7 MB, free: 9.516 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007568/0.5119, allocations: 222.8 kB / 455 MB, free: 9.289 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.512, allocations: 25.78 kB / 455 MB, free: 9.266 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.5121, allocations: 25.95 kB / 455 MB, free: 9.242 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5121, allocations: 4 kB / 455 MB, free: 9.238 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5121, allocations: 0 / 455 MB, free: 9.238 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5121, allocations: 0 / 455 MB, free: 9.238 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.5125, allocations: 273.9 kB / 455.3 MB, free: 8.934 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.5126, allocations: 1.062 kB / 455.3 MB, free: 8.934 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.5129, allocations: 31.97 kB / 455.3 MB, free: 8.902 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.5131, allocations: 48.83 kB / 455.4 MB, free: 8.852 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5132, allocations: 0 / 455.4 MB, free: 8.852 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.5151, allocations: 1.464 MB / 456.8 MB, free: 7.273 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5152, allocations: 0 / 456.8 MB, free: 7.273 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5162, allocations: 320 kB / 457.1 MB, free: 6.941 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5163, allocations: 100.9 kB / 457.2 MB, free: 6.824 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.5164, allocations: 4 kB / 457.2 MB, free: 6.82 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.5169, allocations: 40.02 kB / 457.3 MB, free: 6.781 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.517, allocations: 23.92 kB / 457.3 MB, free: 6.758 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.517, allocations: 4 kB / 457.3 MB, free: 6.754 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.5173, allocations: 172.5 kB / 457.5 MB, free: 6.586 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5173, allocations: 0 / 457.5 MB, free: 6.586 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007859/0.5181, allocations: 123.6 kB / 457.6 MB, free: 6.465 MB / 347.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.5195, allocations: 0.8657 MB / 458.5 MB, free: 5.57 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.5207, allocations: 477.3 kB / 458.9 MB, free: 5.074 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5208, allocations: 0 / 458.9 MB, free: 5.074 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.5212, allocations: 193.5 kB / 459.1 MB, free: 4.875 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.5216, allocations: 33.17 kB / 459.2 MB, free: 4.844 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.523, allocations: 429.9 kB / 459.6 MB, free: 4.379 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.5234, allocations: 0.7701 MB / 460.3 MB, free: 3.582 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.5237, allocations: 79.41 kB / 460.4 MB, free: 3.504 MB / 347.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5237, allocations: 0 / 460.4 MB, free: 3.504 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.869/3.393, allocations: 5.366 MB / 465.8 MB, free: 14.18 MB / 363.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat