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.001548/0.001548, allocations: 187.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001146/0.001146, allocations: 91.41 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 12 kB / 327.1 MB, free: 84 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3398, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4698, allocations: 79.41 MB / 454 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4702, allocations: 83.89 kB / 454.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0291/0.4993, allocations: 6.066 MB / 460.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4994, allocations: 0 / 460.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.4994, allocations: 12 kB / 460.2 MB, free: 11.14 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.001747/0.5012, allocations: 0.6262 MB / 460.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5012, allocations: 8.031 kB / 460.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.5014, allocations: 70.48 kB / 460.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.5015, allocations: 31.62 kB / 460.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.502, allocations: 284.5 kB / 461.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.502, allocations: 16.56 kB / 461.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.5021, allocations: 24 kB / 461.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.5032, allocations: 272.8 kB / 461.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5032, allocations: 0 / 461.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.5033, allocations: 8 kB / 461.5 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5033, allocations: 4 kB / 461.5 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.5047, allocations: 310 kB / 461.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.5075, allocations: 0.9879 MB / 462.8 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.5089, allocations: 274.6 kB / 463.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.5089, allocations: 4 kB / 463.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008153/0.5098, allocations: 193.8 kB / 463.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.356e-06/0.5098, allocations: 0 / 463.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.003407/0.5132, allocations: 0.6823 MB / 464 MB, free: 7.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.5133, allocations: 106.8 kB / 464.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.5138, allocations: 233.8 kB / 464.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.5138, allocations: 33.7 kB / 464.3 MB, free: 6.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.514, allocations: 238.2 kB / 464.6 MB, free: 6.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.5141, allocations: 47.27 kB / 464.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.5141, allocations: 8 kB / 464.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5143, allocations: 318.8 kB / 464.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.5148, allocations: 116.1 kB / 465 MB, free: 6.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.5155, allocations: 184.9 kB / 465.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.5161, allocations: 142.6 kB / 465.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5162, allocations: 0 / 465.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001887/0.5181, allocations: 438.3 kB / 465.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003333/0.5184, allocations: 0.6505 MB / 466.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5184, allocations: 0 / 466.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.5189, allocations: 80.73 kB / 466.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.5194, allocations: 51.97 kB / 466.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008189/0.5202, allocations: 0.6225 MB / 467.2 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.5208, allocations: 55.81 kB / 467.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.5209, allocations: 8 kB / 467.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5209, allocations: 4 kB / 467.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.5222, allocations: 334.8 kB / 467.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5223, allocations: 11.97 kB / 467.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.5225, allocations: 41.03 kB / 467.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.5229, allocations: 55.84 kB / 467.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.5247, allocations: 1.554 MB / 469.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.5252, allocations: 43.84 kB / 469.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.5252, allocations: 12.06 kB / 469.3 MB, free: 1.484 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked 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.0003196/0.5256, allocations: 221 kB / 469.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.5257, allocations: 27.7 kB / 469.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.5258, allocations: 26.14 kB / 469.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5258, allocations: 4 kB / 469.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5258, allocations: 0 / 469.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5258, allocations: 3.984 kB / 469.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.5262, allocations: 305.4 kB / 469.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5263, allocations: 0 / 469.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.5266, allocations: 39.97 kB / 469.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003913/0.527, allocations: 68.81 kB / 470 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5271, allocations: 12.36 kB / 470 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.53, allocations: 1.667 MB / 471.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5301, allocations: 0 / 471.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.5323, allocations: 0.4973 MB / 472.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.5325, allocations: 104.9 kB / 472.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.5326, allocations: 8 kB / 472.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.533, allocations: 31.97 kB / 472.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.5332, allocations: 27.94 kB / 472.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.5332, allocations: 8 kB / 472.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003218/0.5335, allocations: 194 kB / 472.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5335, allocations: 0 / 472.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000746/0.5343, allocations: 135.7 kB / 472.7 MB, free: 13.88 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * 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.002635/0.5369, allocations: 1.038 MB / 473.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.5392, allocations: 0.6481 MB / 474.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5393, allocations: 0 / 474.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007975/0.5401, allocations: 260.5 kB / 474.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.5406, allocations: 41.03 kB / 474.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.5462, allocations: 2.732 MB / 477.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5467, allocations: 0.7641 MB / 478.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.5469, allocations: 79.41 kB / 478.2 MB, free: 8.148 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5469, allocations: 0 / 478.2 MB, free: 8.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.158, allocations: 5.512 MB / 483.7 MB, free: 2.637 MB / 362.7 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