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.001432/0.001432, allocations: 173.9 kB / 7.648 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.0622/0.0622, allocations: 8.712 MB / 16.78 MB, free: 3.379 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.446/1.446, allocations: 221.5 MB / 240.8 MB, free: 13.14 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.0009749/0.0009747, allocations: 93.25 kB / 293.8 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.715e-05, allocations: 0 / 352.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 52.56 MB / 405.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5373, allocations: 78.01 MB / 483.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.5376, allocations: 62.53 kB / 483.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004734/0.5423, allocations: 2.14 MB / 485.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5423, allocations: 5.219 kB / 485.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.5424, allocations: 4 kB / 485.5 MB, free: 7.207 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003466/0.5427, allocations: 385.2 kB / 485.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5428, allocations: 15.98 kB / 485.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.5428, allocations: 15.41 kB / 485.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.543, allocations: 187 kB / 486.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.543, allocations: 4 kB / 486.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.5431, allocations: 10.88 kB / 486.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/0.5432, allocations: 49.94 kB / 486.2 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5433, allocations: 88.34 kB / 486.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5433, allocations: 0 / 486.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5434, allocations: 0 / 486.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5434, allocations: 4 kB / 486.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.544, allocations: 469.9 kB / 486.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.54e-05/0.5441, allocations: 38.84 kB / 486.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.5441, allocations: 20.64 kB / 486.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.5441, allocations: 3.984 kB / 486.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.5441, allocations: 34.56 kB / 486.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.5441, allocations: 0 / 486.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001403/0.5443, allocations: 55.17 kB / 486.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.5443, allocations: 60.14 kB / 486.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.5444, allocations: 117.9 kB / 487 MB, free: 5.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.5444, allocations: 25.7 kB / 487.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.5445, allocations: 126.8 kB / 487.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.5445, allocations: 15.56 kB / 487.2 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5445, allocations: 0 / 487.2 MB, free: 5.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.5446, allocations: 314.8 kB / 487.5 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.5446, allocations: 11.5 kB / 487.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.5446, allocations: 29.83 kB / 487.5 MB, free: 5.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.5447, allocations: 15.5 kB / 487.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5447, allocations: 0 / 487.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.61e-05/0.5448, allocations: 68.5 kB / 487.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5448, allocations: 8.562 kB / 487.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5448, allocations: 0 / 487.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5448, allocations: 0 / 487.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.5449, allocations: 19.98 kB / 487.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5449, allocations: 6.531 kB / 487.7 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.545, allocations: 7.844 kB / 487.7 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.545, allocations: 8.719 kB / 487.7 MB, free: 4.996 MB / 346.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 () * 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 5.233e-05/0.545, allocations: 104.9 kB / 487.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.829e-05/0.5451, allocations: 52.81 kB / 487.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.5452, allocations: 7.906 kB / 487.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.5452, allocations: 8.297 kB / 487.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5452, allocations: 7.984 kB / 487.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5452, allocations: 0 / 487.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5452, allocations: 0.6562 kB / 487.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.5453, allocations: 161 kB / 488 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5453, allocations: 0 / 488 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.5454, allocations: 16.25 kB / 488 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5454, allocations: 0 / 488 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5454, allocations: 0 / 488 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5454, allocations: 3.938 kB / 488 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5455, allocations: 5.703 kB / 488 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.5456, allocations: 157.2 kB / 488.2 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.5456, allocations: 85 kB / 488.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5456, allocations: 7.594 kB / 488.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.5457, allocations: 8 kB / 488.3 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.5457, allocations: 4 kB / 488.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5458, allocations: 5.734 kB / 488.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.5458, allocations: 98.27 kB / 488.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5458, allocations: 0 / 488.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.546, allocations: 23.84 kB / 488.4 MB, free: 4.215 MB / 346.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 () * 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.000263/0.5463, allocations: 0.6876 MB / 489.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.5464, allocations: 26.98 kB / 489.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5464, allocations: 4 kB / 489.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.5464, allocations: 11.75 kB / 489.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.5466, allocations: 4 kB / 489.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.5471, allocations: 227.5 kB / 489.4 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.5473, allocations: 0.7002 MB / 490.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.5473, allocations: 10.39 kB / 490.1 MB, free: 2.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.5474, allocations: 28.88 kB / 490.1 MB, free: 2.496 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5474, allocations: 0 / 490.1 MB, free: 2.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.5667, allocations: 1.248 MB / 491.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.5669, allocations: 120.6 kB / 491.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.1, allocations: 0.5 kB / 491.5 MB, free: 1.109 MB / 346.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)