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.00111/0.00111, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03948/0.03948, allocations: 8.702 MB / 21.96 MB, free: 3.367 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.474/1.474, allocations: 221.4 MB / 246 MB, free: 3.613 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.0009284/0.0009282, allocations: 83 kB / 299.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.384e-05/5.388e-05, allocations: 4 kB / 359.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.303, allocations: 52.53 MB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.4078, allocations: 78.68 MB / 490.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4081, allocations: 63.97 kB / 490.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005775/0.4139, allocations: 2.157 MB / 493.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4139, allocations: 0 / 493.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.414, allocations: 0 / 493.1 MB, free: 5.523 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.0004827/0.4144, allocations: 398.2 kB / 493.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4145, allocations: 8.031 kB / 493.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.4146, allocations: 46.5 kB / 493.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.4146, allocations: 15.81 kB / 493.5 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.4149, allocations: 191.1 kB / 493.7 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4149, allocations: 4 kB / 493.7 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.415, allocations: 12 kB / 493.7 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.4152, allocations: 102.8 kB / 493.8 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4152, allocations: 0 / 493.8 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4152, allocations: 15.89 kB / 493.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4152, allocations: 0 / 493.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.4154, allocations: 52 kB / 493.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.4163, allocations: 0.5021 MB / 494.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.4164, allocations: 54.48 kB / 494.4 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.4164, allocations: 16.86 kB / 494.5 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.4165, allocations: 4 kB / 494.5 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4165, allocations: 34.56 kB / 494.5 MB, free: 3.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.597e-06/0.4165, allocations: 0 / 494.5 MB, free: 3.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.4167, allocations: 57.67 kB / 494.5 MB, free: 3.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4167, allocations: 51.41 kB / 494.6 MB, free: 3.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.4169, allocations: 130.8 kB / 494.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4169, allocations: 29.64 kB / 494.8 MB, free: 3.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.417, allocations: 124 kB / 494.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.417, allocations: 15.8 kB / 494.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.417, allocations: 4 kB / 494.9 MB, free: 3.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4172, allocations: 315.5 kB / 495.2 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.4172, allocations: 12 kB / 495.2 MB, free: 3.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.4173, allocations: 34.56 kB / 495.2 MB, free: 3.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.4173, allocations: 20 kB / 495.3 MB, free: 3.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4173, allocations: 4 kB / 495.3 MB, free: 3.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001207/0.4174, allocations: 77.53 kB / 495.3 MB, free: 2.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4175, allocations: 8 kB / 495.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4175, allocations: 0 / 495.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4175, allocations: 3.953 kB / 495.4 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4176, allocations: 15.98 kB / 495.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4176, allocations: 7.938 kB / 495.4 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.4177, allocations: 3.938 kB / 495.4 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4177, allocations: 4 kB / 495.4 MB, free: 2.938 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 () * 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 7.569e-05/0.4178, allocations: 109 kB / 495.5 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4178, allocations: 7.906 kB / 495.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.4179, allocations: 15.97 kB / 495.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4179, allocations: 0 / 495.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4179, allocations: 3.953 kB / 495.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4179, allocations: 0 / 495.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.4181, allocations: 193.6 kB / 495.7 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4181, allocations: 0 / 495.7 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.4182, allocations: 15.98 kB / 495.7 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4182, allocations: 0 / 495.7 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4182, allocations: 4 kB / 495.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4182, allocations: 4 kB / 495.7 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4182, allocations: 0 / 495.7 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.4184, allocations: 163.3 kB / 495.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.4185, allocations: 85.02 kB / 496 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4185, allocations: 4.031 kB / 496 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.4186, allocations: 11.92 kB / 496 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.4186, allocations: 4.062 kB / 496 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4187, allocations: 4.062 kB / 496 MB, free: 2.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.159e-05/0.4187, allocations: 113.1 kB / 496.1 MB, free: 2.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4188, allocations: 0 / 496.1 MB, free: 2.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.419, allocations: 27.83 kB / 496.1 MB, free: 2.09 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 () * 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.000451/0.4195, allocations: 0.693 MB / 496.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4196, allocations: 35.98 kB / 496.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4196, allocations: 0 / 496.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.4196, allocations: 19.92 kB / 496.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4198, allocations: 8 kB / 496.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.4205, allocations: 215.8 kB / 497.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4208, allocations: 0.7004 MB / 497.8 MB, free: 344 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.4208, allocations: 8.656 kB / 497.8 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.4209, allocations: 27.44 kB / 497.8 MB, free: 308 kB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4209, allocations: 0 / 497.8 MB, free: 308 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.4348, allocations: 1.701 MB / 499.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.4351, allocations: 138.5 kB / 499.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.036, allocations: 0 / 499.7 MB, free: 14.49 MB / 378.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)