Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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: translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.303/1.303, allocations: 222.9 MB / 240 MB, free: 4.516 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.001303/0.001303, allocations: 196.3 kB / 290.3 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0346/0.0346, allocations: 8.794 MB / 349.3 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 82.19 kB / 412.5 MB, free: 41.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07882/0.0803, allocations: 51.56 MB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.0026/0.08294, allocations: 1.389 MB / 465.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.08413, allocations: 0.8643 MB / 466.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.08418, allocations: 0 / 466.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.08446, allocations: 91.61 kB / 466.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.08454, allocations: 11.92 kB / 466.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007921/0.08534, allocations: 450 kB / 466.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.08547, allocations: 35.86 kB / 466.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.08552, allocations: 4 kB / 466.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.08558, allocations: 15.92 kB / 466.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.08563, allocations: 15.92 kB / 466.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.08565, allocations: 0 / 466.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.08587, allocations: 115.8 kB / 467.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.08589, allocations: 11.92 kB / 467.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.08592, allocations: 11.94 kB / 467.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.08614, allocations: 123.7 kB / 467.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.08615, allocations: 4 kB / 467.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08616, allocations: 0 / 467.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.08617, allocations: 0 / 467.2 MB, free: 10.37 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000879/0.08705, allocations: 423.3 kB / 467.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.08709, allocations: 12.03 kB / 467.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.08713, allocations: 4.844 kB / 467.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.08724, allocations: 172.3 kB / 467.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.08726, allocations: 8.375 kB / 467.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.08728, allocations: 4.375 kB / 467.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.08741, allocations: 57.98 kB / 467.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.08742, allocations: 0 / 467.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.08744, allocations: 4 kB / 467.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.08745, allocations: 0 / 467.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.08754, allocations: 35.98 kB / 467.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.08772, allocations: 177.6 kB / 468.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.08789, allocations: 74.5 kB / 468.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.08795, allocations: 24.98 kB / 468.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.08798, allocations: 7.984 kB / 468.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.08801, allocations: 38.5 kB / 468.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.08802, allocations: 0 / 468.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002247/0.08825, allocations: 89.69 kB / 468.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.08829, allocations: 51.41 kB / 468.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.08836, allocations: 110.1 kB / 468.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.08839, allocations: 37.64 kB / 468.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.08842, allocations: 80.14 kB / 468.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.08846, allocations: 27.64 kB / 468.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.0885, allocations: 21.7 kB / 468.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.0886, allocations: 314.8 kB / 468.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.08865, allocations: 20 kB / 469 MB, free: 8.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.08869, allocations: 19.98 kB / 469 MB, free: 8.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.08878, allocations: 48.86 kB / 469 MB, free: 8.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.08879, allocations: 7.938 kB / 469 MB, free: 8.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001238/0.08892, allocations: 77.69 kB / 469.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.08894, allocations: 7.938 kB / 469.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.08895, allocations: 0 / 469.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.08897, allocations: 0 / 469.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.08908, allocations: 15.92 kB / 469.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.0891, allocations: 4 kB / 469.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.08915, allocations: 0 / 469.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.08916, allocations: 0 / 469.1 MB, free: 8.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.51e-05/0.08925, allocations: 126.4 kB / 469.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.08927, allocations: 7.844 kB / 469.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.08946, allocations: 102 kB / 469.4 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.08948, allocations: 7.984 kB / 469.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.08949, allocations: 0 / 469.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.08949, allocations: 3.938 kB / 469.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.08964, allocations: 181.6 kB / 469.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.08965, allocations: 4 kB / 469.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.08974, allocations: 8 kB / 469.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.08975, allocations: 3.938 kB / 469.6 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.08977, allocations: 4.438 kB / 469.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.08978, allocations: 7.984 kB / 469.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.08979, allocations: 0 / 469.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.08994, allocations: 113 kB / 469.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.08999, allocations: 88.98 kB / 469.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.09001, allocations: 0 / 469.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.09006, allocations: 4 kB / 469.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.09009, allocations: 11.92 kB / 469.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.0901, allocations: 4 kB / 469.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.09014, allocations: 87.28 kB / 469.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09014, allocations: 0 / 469.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.09035, allocations: 12 kB / 469.9 MB, free: 7.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000117/0.09047, allocations: 111.2 kB / 470 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.09062, allocations: 51.97 kB / 470.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.09063, allocations: 0 / 470.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.09068, allocations: 35.88 kB / 470.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.09083, allocations: 7.984 kB / 470.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.09116, allocations: 172.5 kB / 470.3 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.09138, allocations: 0.6944 MB / 471 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.09141, allocations: 0 / 471 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.09145, allocations: 11.44 kB / 471 MB, free: 6.207 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09146, allocations: 0 / 471 MB, free: 6.207 MB / 302.1 MB Notification: Performance of Templates: time 0.00284/0.0943, allocations: 0.8157 MB / 471.8 MB, free: 5.395 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)