Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",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.00122/0.00122, 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.332/1.332, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001452/0.001452, allocations: 192.4 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.03344/0.03344, allocations: 8.792 MB / 348.1 MB, free: 4.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 80.12 kB / 410.5 MB, free: 42.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08792, allocations: 51.56 MB / 462.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003244/0.0912, allocations: 2.257 MB / 464.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006843/0.09191, allocations: 490.8 kB / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.09203, allocations: 0 / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.09219, allocations: 27.78 kB / 464.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.09228, allocations: 35.7 kB / 464.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.09243, allocations: 39.97 kB / 464.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.09262, allocations: 151.4 kB / 465.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.09278, allocations: 61.52 kB / 465.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.09284, allocations: 51.78 kB / 465.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.09294, allocations: 67.64 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.09297, allocations: 8 kB / 465.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.09301, allocations: 12 kB / 465.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.09304, allocations: 27.91 kB / 465.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.09313, allocations: 75.55 kB / 465.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.09329, allocations: 163.6 kB / 465.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.0933, allocations: 0 / 465.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09331, allocations: 0 / 465.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09333, allocations: 4 kB / 465.5 MB, free: 11.32 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005811/0.09391, allocations: 458.8 kB / 466 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.09396, allocations: 8.031 kB / 466 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.09401, allocations: 54.73 kB / 466 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.09406, allocations: 20.66 kB / 466 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.09427, allocations: 204.1 kB / 466.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.0943, allocations: 12.38 kB / 466.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.09433, allocations: 16.38 kB / 466.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.09461, allocations: 176.8 kB / 466.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.09463, allocations: 0 / 466.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.09465, allocations: 4 kB / 466.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.09466, allocations: 4 kB / 466.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.09485, allocations: 84.8 kB / 466.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.09571, allocations: 0.7457 MB / 467.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.09588, allocations: 74.55 kB / 467.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.09596, allocations: 32.84 kB / 467.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.09598, allocations: 7.984 kB / 467.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.09601, allocations: 38.56 kB / 467.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.09601, allocations: 3.938 kB / 467.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002581/0.09628, allocations: 105.7 kB / 467.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.09631, allocations: 51.41 kB / 467.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.09644, allocations: 157.5 kB / 467.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.09646, allocations: 29.7 kB / 467.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.09653, allocations: 139.5 kB / 467.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.09656, allocations: 27.64 kB / 467.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.09661, allocations: 25.72 kB / 468 MB, free: 8.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.09671, allocations: 322.8 kB / 468.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.09678, allocations: 27.98 kB / 468.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.09686, allocations: 56.27 kB / 468.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.09701, allocations: 96.22 kB / 468.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.09702, allocations: 3.938 kB / 468.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000209/0.09724, allocations: 137.4 kB / 468.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.09726, allocations: 4 kB / 468.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09727, allocations: 0 / 468.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.09728, allocations: 4 kB / 468.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.09741, allocations: 23.98 kB / 468.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.09743, allocations: 11.94 kB / 468.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.0975, allocations: 4 kB / 468.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.09751, allocations: 8 kB / 468.6 MB, free: 7.895 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.673e-05/0.09762, allocations: 134.3 kB / 468.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.09765, allocations: 19.88 kB / 468.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.09769, allocations: 8.719 kB / 468.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.0977, allocations: 4 kB / 468.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.09771, allocations: 3.938 kB / 468.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.09772, allocations: 96 / 468.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.09793, allocations: 225.5 kB / 469 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.09794, allocations: 0 / 469 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.09804, allocations: 16 kB / 469 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.09805, allocations: 0 / 469 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.09807, allocations: 0 / 469 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.09807, allocations: 4 kB / 469.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.09808, allocations: 3.938 kB / 469.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.09835, allocations: 215.7 kB / 469.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.09841, allocations: 85 kB / 469.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.09844, allocations: 4 kB / 469.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.09854, allocations: 8 kB / 469.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.09858, allocations: 11.98 kB / 469.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.09859, allocations: 4 kB / 469.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.09867, allocations: 111.3 kB / 469.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.09867, allocations: 0 / 469.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.09892, allocations: 31.84 kB / 469.5 MB, free: 6.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.0005054/0.09943, allocations: 0.7474 MB / 470.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.09962, allocations: 67.91 kB / 470.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.09963, allocations: 0 / 470.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.09969, allocations: 20 kB / 470.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1001, allocations: 28.47 kB / 470.4 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1019, allocations: 1.858 MB / 472.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1022, allocations: 0.7158 MB / 473 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.1022, allocations: 9.062 kB / 473 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.1023, allocations: 47.36 kB / 473 MB, free: 3.285 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1023, allocations: 0 / 473 MB, free: 3.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.1137, allocations: 2.322 MB / 475.3 MB, free: 1.039 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.114, allocations: 182.7 kB / 475.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.76, allocations: 0 / 475.5 MB, free: 0.7812 MB / 302.1 MB (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)