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/ModelicaServices 4.0.0+maint.om/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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.0009569, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 238.9 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 185 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03252/0.03252, allocations: 8.783 MB / 350 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 12.72 kB / 413.2 MB, free: 42.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09197, allocations: 52.57 MB / 465.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002026/0.09403, allocations: 1.436 MB / 467.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.09475, allocations: 439.3 kB / 467.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.09485, allocations: 4 kB / 467.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.09491, allocations: 15.91 kB / 467.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.09501, allocations: 31.92 kB / 467.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.09514, allocations: 19.92 kB / 467.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.09532, allocations: 87.81 kB / 467.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.09547, allocations: 41.19 kB / 467.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.09554, allocations: 35.86 kB / 467.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.09562, allocations: 35.84 kB / 467.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.09565, allocations: 8 kB / 467.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.09568, allocations: 4 kB / 467.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.09571, allocations: 23.91 kB / 467.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.09582, allocations: 45.64 kB / 467.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.09593, allocations: 80.05 kB / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.09594, allocations: 4 kB / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09595, allocations: 0 / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.09596, allocations: 0 / 468 MB, free: 11.07 MB / 302.1 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.0005075/0.09648, allocations: 398.9 kB / 468.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.09653, allocations: 11.97 kB / 468.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.09658, allocations: 46.52 kB / 468.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.09662, allocations: 11.91 kB / 468.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.09685, allocations: 202.8 kB / 468.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.09688, allocations: 8 kB / 468.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.09691, allocations: 12 kB / 468.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.09711, allocations: 95.19 kB / 468.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.09712, allocations: 0 / 468.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.09715, allocations: 8 kB / 468.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.09716, allocations: 3.953 kB / 468.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.09728, allocations: 63.91 kB / 468.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.09806, allocations: 0.4982 MB / 469.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.09817, allocations: 54.48 kB / 469.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.09819, allocations: 0 / 469.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.09822, allocations: 30.56 kB / 469.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.09823, allocations: 7.938 kB / 469.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.0984, allocations: 65.64 kB / 469.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.09845, allocations: 51.41 kB / 469.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.09858, allocations: 139.6 kB / 469.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.09861, allocations: 25.7 kB / 469.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.0987, allocations: 124 kB / 469.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.09872, allocations: 15.75 kB / 469.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.09873, allocations: 7.938 kB / 469.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.09886, allocations: 318.8 kB / 470.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.09889, allocations: 12 kB / 470.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.09894, allocations: 30.56 kB / 470.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.09898, allocations: 20 kB / 470.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.09899, allocations: 0 / 470.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000123/0.09912, allocations: 81.53 kB / 470.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.09914, allocations: 8 kB / 470.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.09915, allocations: 0 / 470.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.09917, allocations: 0 / 470.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.09927, allocations: 19.95 kB / 470.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.09928, allocations: 0 / 470.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.09933, allocations: 0 / 470.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.09935, allocations: 12.05 kB / 470.4 MB, free: 8.48 MB / 302.1 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.78e-05/0.09944, allocations: 121.7 kB / 470.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.09948, allocations: 7.906 kB / 470.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.09951, allocations: 12.25 kB / 470.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.09952, allocations: 0 / 470.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.09953, allocations: 8.016 kB / 470.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.09954, allocations: 0 / 470.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.09974, allocations: 193.6 kB / 470.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.09975, allocations: 0 / 470.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.09981, allocations: 12 kB / 470.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.09982, allocations: 0 / 470.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.09984, allocations: 0 / 470.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.09984, allocations: 3.984 kB / 470.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09985, allocations: 4 kB / 470.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1, allocations: 167.3 kB / 470.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1001, allocations: 84.95 kB / 471 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1001, allocations: 4 kB / 471 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.1002, allocations: 12.08 kB / 471 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.1002, allocations: 4 kB / 471 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1002, allocations: 0 / 471 MB, free: 7.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.058e-05/0.1003, allocations: 105.8 kB / 471.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1003, allocations: 0 / 471.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1006, allocations: 31.8 kB / 471.1 MB, free: 7.629 MB / 302.1 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.0004049/0.101, allocations: 0.6973 MB / 471.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.629e-05/0.1011, allocations: 31.98 kB / 471.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1011, allocations: 0 / 471.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.1011, allocations: 16.22 kB / 471.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1013, allocations: 8 kB / 471.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1024, allocations: 1.005 MB / 472.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1027, allocations: 0.7082 MB / 473.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.1027, allocations: 4.672 kB / 473.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1028, allocations: 31.42 kB / 473.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1028, allocations: 0 / 473.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.1144, allocations: 1.719 MB / 475.3 MB, free: 3.418 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.1146, allocations: 170.4 kB / 475.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.69, allocations: 2.375 kB / 475.5 MB, free: 3.176 MB / 302.1 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) Environment - environmentSimulation: