Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",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.005274/0.005274, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0385/0.0385, allocations: 8.798 MB / 24.65 MB, free: 4.109 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 250.7 MB, free: 6.59 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.0009233/0.0009234, allocations: 94.62 kB / 304 MB, free: 4.043 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 12 kB / 367.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 52.53 MB / 419.7 MB, free: 47.9 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3846, allocations: 78.74 MB / 498.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3849, allocations: 63.97 kB / 498.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005661/0.3906, allocations: 2.172 MB / 0.4889 GB, free: 8.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3906, allocations: 4 kB / 0.4889 GB, free: 8.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3906, allocations: 4 kB / 0.4889 GB, free: 8.027 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004862/0.3911, allocations: 402.5 kB / 0.4893 GB, free: 7.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3911, allocations: 12.56 kB / 0.4893 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.3912, allocations: 46.55 kB / 0.4894 GB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3912, allocations: 11.81 kB / 0.4894 GB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3915, allocations: 191 kB / 0.4896 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3915, allocations: 16 kB / 0.4896 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3915, allocations: 11.94 kB / 0.4896 GB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3917, allocations: 101.7 kB / 0.4897 GB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3917, allocations: 0 / 0.4897 GB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3917, allocations: 7.953 kB / 0.4897 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3918, allocations: 7.938 kB / 0.4897 GB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3919, allocations: 57.06 kB / 0.4898 GB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.3927, allocations: 0.4943 MB / 0.4902 GB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3928, allocations: 50.56 kB / 0.4903 GB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.3928, allocations: 0 / 0.4903 GB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3928, allocations: 34.56 kB / 0.4903 GB, free: 6.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3928, allocations: 0 / 0.4903 GB, free: 6.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.393, allocations: 69.58 kB / 0.4904 GB, free: 6.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.393, allocations: 51.41 kB / 0.4904 GB, free: 6.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3932, allocations: 135.4 kB / 0.4906 GB, free: 6.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3932, allocations: 25.7 kB / 0.4906 GB, free: 6.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.3933, allocations: 128 kB / 0.4907 GB, free: 5.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.3933, allocations: 15.73 kB / 0.4907 GB, free: 5.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.3933, allocations: 0 / 0.4907 GB, free: 5.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3934, allocations: 322.8 kB / 0.491 GB, free: 5.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.3935, allocations: 8 kB / 0.4911 GB, free: 5.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.3935, allocations: 34.58 kB / 0.4911 GB, free: 5.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.3935, allocations: 23.92 kB / 0.4911 GB, free: 5.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3936, allocations: 0 / 0.4911 GB, free: 5.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.3937, allocations: 77.62 kB / 0.4912 GB, free: 5.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3937, allocations: 4 kB / 0.4912 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3937, allocations: 8.062 kB / 0.4912 GB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3937, allocations: 0 / 0.4912 GB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3939, allocations: 15.95 kB / 0.4912 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3939, allocations: 0 / 0.4912 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.3939, allocations: 7.906 kB / 0.4912 GB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.3939, allocations: 4 kB / 0.4912 GB, free: 5.449 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.716e-05/0.394, allocations: 126.6 kB / 0.4913 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3941, allocations: 7.906 kB / 0.4913 GB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.3941, allocations: 4.25 kB / 0.4914 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3941, allocations: 0 / 0.4914 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3941, allocations: 12.08 kB / 0.4914 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3941, allocations: 3.938 kB / 0.4914 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3944, allocations: 193.6 kB / 0.4916 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3944, allocations: 4 kB / 0.4916 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.3945, allocations: 8 kB / 0.4916 GB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3945, allocations: 4 kB / 0.4916 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3945, allocations: 0 / 0.4916 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3945, allocations: 0 / 0.4916 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3945, allocations: 0 / 0.4916 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.3947, allocations: 167.4 kB / 0.4917 GB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.3947, allocations: 92.98 kB / 0.4918 GB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3948, allocations: 3.938 kB / 0.4918 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.3949, allocations: 8.062 kB / 0.4918 GB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.3949, allocations: 3.984 kB / 0.4918 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3949, allocations: 4 kB / 0.4918 GB, free: 4.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.395, allocations: 109.7 kB / 0.4919 GB, free: 4.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.395, allocations: 0 / 0.4919 GB, free: 4.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000228/0.3952, allocations: 27.86 kB / 0.492 GB, free: 4.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.0004259/0.3957, allocations: 0.693 MB / 0.4926 GB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3958, allocations: 35.92 kB / 0.4927 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3958, allocations: 0 / 0.4927 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.563e-05/0.3958, allocations: 12 kB / 0.4927 GB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.396, allocations: 9.969 kB / 0.4927 GB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3971, allocations: 1.014 MB / 0.4937 GB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3974, allocations: 0.7082 MB / 0.4944 GB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.3975, allocations: 4.672 kB / 0.4944 GB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.3975, allocations: 27.42 kB / 0.4944 GB, free: 1.98 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3976, allocations: 4 kB / 0.4944 GB, free: 1.977 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.4111, allocations: 1.72 MB / 0.4961 GB, free: 392 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.4114, allocations: 172.5 kB / 0.4963 GB, free: 144 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.877, allocations: 0 / 0.4963 GB, free: 144 kB / 362.7 MB (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)