Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009524, 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.597/1.597, allocations: 223.2 MB / 239 MB, free: 5.48 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.001407/0.001407, allocations: 189 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03296/0.03296, allocations: 8.803 MB / 350.1 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006151/0.0006152, allocations: 10.44 kB / 413.1 MB, free: 43.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 52.56 MB / 465.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0007443/0.1145, allocations: 222.3 kB / 465.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.1147, allocations: 12 kB / 465.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.1148, allocations: 0 / 465.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.1148, allocations: 3.938 kB / 465.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.1148, allocations: 7.984 kB / 465.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.115, allocations: 3.984 kB / 465.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.676e-05/0.1151, allocations: 8 kB / 465.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.1151, allocations: 0 / 465.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.1152, allocations: 0 / 465.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.1153, allocations: 15.92 kB / 465.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1153, allocations: 0 / 465.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.1153, allocations: 0 / 465.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1153, allocations: 0 / 465.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.1154, allocations: 37.64 kB / 465.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.384e-05/0.1154, allocations: 7.984 kB / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1154, allocations: 3.938 kB / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1154, allocations: 0 / 466 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1154, allocations: 0 / 466 MB, free: 13.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004934/0.1159, allocations: 323.3 kB / 466.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.116, allocations: 8.031 kB / 466.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.116, allocations: 3.953 kB / 466.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1162, allocations: 159.4 kB / 466.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1163, allocations: 4 kB / 466.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1163, allocations: 0 / 466.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1164, allocations: 41.62 kB / 466.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1164, allocations: 3.984 kB / 466.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1165, allocations: 0 / 466.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1165, allocations: 0 / 466.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.1165, allocations: 15.94 kB / 466.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.1168, allocations: 157.6 kB / 466.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.1169, allocations: 42.55 kB / 466.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.117, allocations: 0 / 466.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.117, allocations: 30.56 kB / 466.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.117, allocations: 0 / 466.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001831/0.1172, allocations: 45.78 kB / 466.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.1173, allocations: 55.41 kB / 466.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.1174, allocations: 101.8 kB / 466.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1174, allocations: 29.7 kB / 467 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.1175, allocations: 80.14 kB / 467 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1175, allocations: 11.81 kB / 467 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1175, allocations: 0 / 467 MB, free: 11.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1177, allocations: 318.8 kB / 467.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.1178, allocations: 7.938 kB / 467.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.1178, allocations: 12 kB / 467.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.1178, allocations: 4 kB / 467.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1178, allocations: 0 / 467.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.439e-05/0.1179, allocations: 45.69 kB / 467.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.118, allocations: 8 kB / 467.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.118, allocations: 0 / 467.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.118, allocations: 7.938 kB / 467.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1181, allocations: 8 kB / 467.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1181, allocations: 0 / 467.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.1182, allocations: 4 kB / 467.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1182, allocations: 4 kB / 467.5 MB, free: 11.55 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 (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 prepare postOptimizeDAE: time 9.213e-05/0.1183, allocations: 121.7 kB / 467.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.1183, allocations: 3.906 kB / 467.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.1183, allocations: 7.5 kB / 467.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1183, allocations: 3.938 kB / 467.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1183, allocations: 0 / 467.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1183, allocations: 4.516 kB / 467.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1186, allocations: 153.6 kB / 467.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1186, allocations: 0 / 467.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.1187, allocations: 8 kB / 467.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1187, allocations: 4 kB / 467.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1187, allocations: 4 kB / 467.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1187, allocations: 3.984 kB / 467.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1187, allocations: 0 / 467.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1189, allocations: 77.06 kB / 467.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1189, allocations: 77.11 kB / 467.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.119, allocations: 8.031 kB / 467.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.119, allocations: 4.062 kB / 467.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.119, allocations: 3.938 kB / 467.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.119, allocations: 0 / 467.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.1191, allocations: 83.27 kB / 468 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 0 / 468 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.1193, allocations: 4 kB / 468 MB, free: 10.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.0002093/0.1195, allocations: 91.78 kB / 468.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1196, allocations: 12 kB / 468.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1196, allocations: 4 kB / 468.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/0.1197, allocations: 15.98 kB / 468.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1198, allocations: 3.953 kB / 468.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.1201, allocations: 124.5 kB / 468.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1205, allocations: 0.677 MB / 468.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.786e-05/0.1205, allocations: 4 kB / 468.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.1206, allocations: 7.438 kB / 469 MB, free: 9.891 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1206, allocations: 4 kB / 469 MB, free: 9.887 MB / 302.1 MB Notification: Performance of Templates: time 0.003334/0.1239, allocations: 224.5 kB / 469.2 MB, free: 9.668 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) Environment - environmentSimulation: