Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001363/0.001363, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008434/0.0008434, allocations: 82.38 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.809e-05, allocations: 4 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09146, allocations: 47.58 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.4199, allocations: 78.89 MB / 442.1 MB, free: 476 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4201, allocations: 77.62 kB / 442.1 MB, free: 436 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02767/0.4478, allocations: 6.01 MB / 448.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4479, allocations: 0 / 448.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.4479, allocations: 8 kB / 448.2 MB, free: 11.35 MB / 330.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.001519/0.4494, allocations: 0.5917 MB / 448.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.4495, allocations: 9.156 kB / 448.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.4496, allocations: 31.62 kB / 448.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.4502, allocations: 284.9 kB / 449.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4502, allocations: 8 kB / 449.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.4503, allocations: 19.98 kB / 449.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005173/0.4508, allocations: 163.1 kB / 449.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.4514, allocations: 172.5 kB / 449.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4514, allocations: 0 / 449.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.4515, allocations: 0 / 449.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4515, allocations: 12 kB / 449.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.454, allocations: 0.9283 MB / 450.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.4546, allocations: 163.5 kB / 450.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4548, allocations: 68.34 kB / 450.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.4548, allocations: 0 / 450.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.4552, allocations: 138.7 kB / 450.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.4552, allocations: 0 / 450.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008757/0.4561, allocations: 224.2 kB / 451 MB, free: 8.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.4563, allocations: 106.8 kB / 451.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.4566, allocations: 214.9 kB / 451.3 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.4567, allocations: 25.7 kB / 451.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4569, allocations: 192.7 kB / 451.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.457, allocations: 46.61 kB / 451.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.457, allocations: 0 / 451.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.4572, allocations: 337.7 kB / 451.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.4574, allocations: 54.36 kB / 451.9 MB, free: 7.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.4577, allocations: 122.9 kB / 452 MB, free: 7.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.4579, allocations: 59.06 kB / 452.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4579, allocations: 0 / 452.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009268/0.4588, allocations: 286.4 kB / 452.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.4592, allocations: 0.6359 MB / 453 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4592, allocations: 4 kB / 453 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.4596, allocations: 55.28 kB / 453.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.46, allocations: 51.41 kB / 453.1 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006569/0.4607, allocations: 0.5881 MB / 453.7 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.4612, allocations: 47.88 kB / 453.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.4612, allocations: 11.5 kB / 453.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4613, allocations: 4 kB / 453.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000615/0.4619, allocations: 204.1 kB / 454 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4619, allocations: 0 / 454 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.4621, allocations: 36.22 kB / 454 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.4625, allocations: 54.89 kB / 454 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.4644, allocations: 1.477 MB / 455.5 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.4649, allocations: 48.06 kB / 455.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.4649, allocations: 7.312 kB / 455.6 MB, free: 4.324 MB / 330.7 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.0002101/0.4651, allocations: 109.9 kB / 455.7 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007172/0.4659, allocations: 232.5 kB / 455.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.4659, allocations: 19.72 kB / 455.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8e-05/0.466, allocations: 28.89 kB / 456 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.466, allocations: 0 / 456 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4661, allocations: 0 / 456 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4661, allocations: 3.938 kB / 456 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.4665, allocations: 274.5 kB / 456.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4665, allocations: 4 kB / 456.2 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.4669, allocations: 42.91 kB / 456.3 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.4671, allocations: 43.39 kB / 456.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4671, allocations: 4 kB / 456.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.4691, allocations: 1.454 MB / 457.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.4691, allocations: 4 kB / 457.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.4701, allocations: 318.1 kB / 458.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4702, allocations: 100.4 kB / 458.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.4703, allocations: 0 / 458.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.4707, allocations: 43.97 kB / 458.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4708, allocations: 27.47 kB / 458.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.4708, allocations: 4 kB / 458.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.4711, allocations: 168.6 kB / 458.4 MB, free: 1.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4711, allocations: 0 / 458.4 MB, free: 1.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000924/0.472, allocations: 127.6 kB / 458.6 MB, free: 1.465 MB / 330.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) * 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.001377/0.4734, allocations: 0.8586 MB / 459.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4745, allocations: 481.5 kB / 459.9 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4745, allocations: 0 / 459.9 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.4749, allocations: 197.8 kB / 460.1 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4753, allocations: 40.03 kB / 460.1 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4765, allocations: 403 kB / 460.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.4769, allocations: 0.7606 MB / 461.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002527/0.4772, allocations: 38.03 kB / 461.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.4773, allocations: 77.72 kB / 461.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4773, allocations: 4 kB / 461.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.5046, allocations: 5.522 MB / 466.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.5048, allocations: 140 kB / 467 MB, free: 9.062 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.324, allocations: 4 kB / 467 MB, free: 9.059 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat