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-master/package.mo", uses=false) 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) 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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.331/1.331, allocations: 222.9 MB / 238.9 MB, free: 4.77 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.001253/0.001253, allocations: 184.5 kB / 289.1 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03323/0.03323, allocations: 8.798 MB / 348.1 MB, free: 4.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 79.17 kB / 410.5 MB, free: 42.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09162, allocations: 51.56 MB / 462.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003111/0.09478, allocations: 1.876 MB / 463.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.09555, allocations: 454.9 kB / 464.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.09565, allocations: 0 / 464.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.0958, allocations: 19.86 kB / 464.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.09587, allocations: 23.78 kB / 464.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.09602, allocations: 27.97 kB / 464.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.09619, allocations: 111.5 kB / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.09635, allocations: 45.17 kB / 464.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.09642, allocations: 35.86 kB / 464.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.09652, allocations: 51.78 kB / 464.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.09656, allocations: 8 kB / 464.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.613e-05/0.09659, allocations: 15.94 kB / 464.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.09663, allocations: 15.92 kB / 464.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.0967, allocations: 51.73 kB / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.09684, allocations: 115.9 kB / 464.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.09685, allocations: 0 / 464.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.09686, allocations: 0 / 464.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.09687, allocations: 0 / 464.9 MB, free: 11.92 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.0005044/0.09738, allocations: 419 kB / 465.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.09743, allocations: 16.03 kB / 465.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.09748, allocations: 42.75 kB / 465.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.09752, allocations: 12.83 kB / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.09772, allocations: 200.1 kB / 465.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.09774, allocations: 4.375 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.09777, allocations: 8.375 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.09796, allocations: 107.3 kB / 465.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.09797, allocations: 0 / 465.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.098, allocations: 8 kB / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.09801, allocations: 0 / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.09813, allocations: 67.91 kB / 465.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.09894, allocations: 0.4942 MB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.09905, allocations: 54.5 kB / 466.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.09909, allocations: 12.86 kB / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.09911, allocations: 7.938 kB / 466.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.09914, allocations: 38.64 kB / 466.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.09914, allocations: 0 / 466.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001693/0.09932, allocations: 57.69 kB / 466.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.09936, allocations: 55.41 kB / 466.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.09949, allocations: 152 kB / 466.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.09951, allocations: 25.7 kB / 466.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.09958, allocations: 116 kB / 466.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.0996, allocations: 19.78 kB / 466.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.09964, allocations: 17.72 kB / 466.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.09981, allocations: 330.7 kB / 467.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.09985, allocations: 16 kB / 467.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.09989, allocations: 30.56 kB / 467.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.09996, allocations: 42.58 kB / 467.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09996, allocations: 0 / 467.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001082/0.1001, allocations: 85.53 kB / 467.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1001, allocations: 4.062 kB / 467.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1001, allocations: 7.938 kB / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1001, allocations: 0 / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.1002, allocations: 16 kB / 467.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1002, allocations: 3.984 kB / 467.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1003, allocations: 7.875 kB / 467.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1003, allocations: 4 kB / 467.3 MB, free: 9.215 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/0.1004, allocations: 121.7 kB / 467.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1004, allocations: 11.91 kB / 467.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.1004, allocations: 12.25 kB / 467.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1005, allocations: 192 / 467.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1005, allocations: 0 / 467.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1005, allocations: 3.984 kB / 467.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1007, allocations: 197.6 kB / 467.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1007, allocations: 0 / 467.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.1007, allocations: 11.94 kB / 467.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1007, allocations: 3.984 kB / 467.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1008, allocations: 0 / 467.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1008, allocations: 4 kB / 467.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1008, allocations: 0 / 467.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.1009, allocations: 171.5 kB / 467.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.101, allocations: 85.02 kB / 467.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.101, allocations: 3.984 kB / 468 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.1011, allocations: 4.031 kB / 468 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.1011, allocations: 4 kB / 468 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1011, allocations: 0 / 468 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.1012, allocations: 107.3 kB / 468.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1012, allocations: 4 kB / 468.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.1017, allocations: 27.84 kB / 468.1 MB, free: 8.359 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003598/0.1021, allocations: 0.6967 MB / 468.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1022, allocations: 35.92 kB / 468.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1022, allocations: 4.188 kB / 468.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.1022, allocations: 12 kB / 468.8 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1025, allocations: 18.17 kB / 468.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.104, allocations: 1.602 MB / 470.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1043, allocations: 0.6965 MB / 471.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.1043, allocations: 4.672 kB / 471.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1044, allocations: 35.36 kB / 471.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1044, allocations: 0 / 471.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.1231, allocations: 1.846 MB / 473 MB, free: 3.352 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1233, allocations: 190.5 kB / 473.2 MB, free: 3.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.763, allocations: 3.938 kB / 473.2 MB, free: 3.086 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/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)