Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",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.0009768/0.0009768, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04263/0.04263, allocations: 8.712 MB / 16.78 MB, free: 3.387 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.344/1.344, allocations: 221.5 MB / 240.8 MB, free: 13.12 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.001033/0.001033, allocations: 97.92 kB / 293.9 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.001e-05, allocations: 4 kB / 352.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 52.57 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4844, allocations: 79.32 MB / 484.6 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4847, allocations: 70.77 kB / 484.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006518/0.4912, allocations: 2.822 MB / 487.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4913, allocations: 0 / 487.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4913, allocations: 8 kB / 487.5 MB, free: 5.359 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000392/0.4917, allocations: 416.4 kB / 487.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4917, allocations: 11.98 kB / 487.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.4918, allocations: 20.59 kB / 487.9 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.492, allocations: 208.4 kB / 488.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.492, allocations: 8 kB / 488.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.492, allocations: 8 kB / 488.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.4922, allocations: 66.56 kB / 488.2 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4924, allocations: 145.4 kB / 488.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4924, allocations: 1.031 kB / 488.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4924, allocations: 10.16 kB / 488.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4924, allocations: 0 / 488.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.4932, allocations: 0.7044 MB / 489.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4933, allocations: 63.91 kB / 489.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.4933, allocations: 28.05 kB / 489.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.4934, allocations: 4 kB / 489.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4934, allocations: 30.56 kB / 489.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.4934, allocations: 0 / 489.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001673/0.4936, allocations: 75.45 kB / 489.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.4936, allocations: 55.41 kB / 489.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.4937, allocations: 139.1 kB / 489.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.4937, allocations: 25.7 kB / 489.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.4938, allocations: 142.1 kB / 489.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.4938, allocations: 23.16 kB / 489.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.4938, allocations: 0 / 489.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.4939, allocations: 322.5 kB / 490 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.4939, allocations: 19.12 kB / 490 MB, free: 2.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.4939, allocations: 56.05 kB / 490 MB, free: 2.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.494, allocations: 31.92 kB / 490.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.494, allocations: 0 / 490.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001279/0.4941, allocations: 107.8 kB / 490.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4942, allocations: 8.125 kB / 490.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4942, allocations: 3.938 kB / 490.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4942, allocations: 4 kB / 490.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4943, allocations: 23.98 kB / 490.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4943, allocations: 4.844 kB / 490.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.4944, allocations: 7.906 kB / 490.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4944, allocations: 4 kB / 490.2 MB, free: 2.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.4945, allocations: 112.4 kB / 490.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.048e-05/0.4946, allocations: 77.67 kB / 490.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.4946, allocations: 7.906 kB / 490.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.4946, allocations: 16.05 kB / 490.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4947, allocations: 0 / 490.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4947, allocations: 0 / 490.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4947, allocations: 1.281 kB / 490.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4948, allocations: 187.5 kB / 490.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4948, allocations: 5.078 kB / 490.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.4949, allocations: 21.17 kB / 490.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4949, allocations: 3.938 kB / 490.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.495, allocations: 4 kB / 490.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.495, allocations: 3.938 kB / 490.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.495, allocations: 0 / 490.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.4951, allocations: 187.7 kB / 490.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.4952, allocations: 92.98 kB / 490.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4952, allocations: 3.688 kB / 490.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.4953, allocations: 4.688 kB / 490.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.4953, allocations: 12.05 kB / 491 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.4953, allocations: 0 / 491 MB, free: 1.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.4954, allocations: 111.5 kB / 491.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4954, allocations: 0 / 491.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.4956, allocations: 31.84 kB / 491.1 MB, free: 1.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/0.4959, allocations: 0.7156 MB / 491.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.4961, allocations: 59.92 kB / 491.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4961, allocations: 0 / 491.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.4961, allocations: 16 kB / 491.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.4963, allocations: 12.62 kB / 491.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.497, allocations: 291.8 kB / 492.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.4972, allocations: 0.7158 MB / 492.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.4972, allocations: 8.562 kB / 492.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.4973, allocations: 43.42 kB / 492.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4973, allocations: 0 / 492.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.5177, allocations: 1.802 MB / 494.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/0.518, allocations: 118.3 kB / 494.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.147, allocations: 2.25 kB / 494.9 MB, free: 13.93 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)