Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001493, allocations: 104.9 kB / 16.41 MB, free: 6.504 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.438/1.438, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001615/0.001615, allocations: 184.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03371/0.03371, allocations: 8.802 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.88 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.126, allocations: 51.57 MB / 0.504 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.00209/0.1281, allocations: 0.5061 MB / 0.5045 GB, free: 9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.1283, allocations: 23.89 kB / 0.5046 GB, free: 8.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.1283, allocations: 0 / 0.5046 GB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1284, allocations: 3.938 kB / 0.5046 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.1285, allocations: 0 / 0.5046 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.1286, allocations: 8 kB / 0.5046 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.1287, allocations: 23.86 kB / 0.5046 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.1288, allocations: 0 / 0.5046 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1288, allocations: 11.92 kB / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.1288, allocations: 7.984 kB / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1289, allocations: 0 / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.1289, allocations: 0 / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.1289, allocations: 3.938 kB / 0.5046 GB, free: 8.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.1289, allocations: 8 kB / 0.5046 GB, free: 8.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.801e-05/0.129, allocations: 7.938 kB / 0.5046 GB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.129, allocations: 3.938 kB / 0.5046 GB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.129, allocations: 4 kB / 0.5046 GB, free: 8.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1291, allocations: 0 / 0.5046 GB, free: 8.895 MB / 350.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.0004506/0.1295, allocations: 327.5 kB / 0.5049 GB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1296, allocations: 12.03 kB / 0.505 GB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1296, allocations: 0.9375 kB / 0.505 GB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1298, allocations: 168.3 kB / 0.5051 GB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1298, allocations: 384 / 0.5051 GB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1298, allocations: 4.375 kB / 0.5051 GB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1299, allocations: 38.25 kB / 0.5052 GB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1299, allocations: 4.188 kB / 0.5052 GB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.13, allocations: 3.938 kB / 0.5052 GB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.13, allocations: 0 / 0.5052 GB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.13, allocations: 7.938 kB / 0.5052 GB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.1302, allocations: 153.7 kB / 0.5053 GB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.1303, allocations: 38.67 kB / 0.5054 GB, free: 8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.1304, allocations: 12.84 kB / 0.5054 GB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1304, allocations: 4 kB / 0.5054 GB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1304, allocations: 34.56 kB / 0.5054 GB, free: 7.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1304, allocations: 0 / 0.5054 GB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.1306, allocations: 57.56 kB / 0.5055 GB, free: 7.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1307, allocations: 55.41 kB / 0.5055 GB, free: 7.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.1308, allocations: 98.03 kB / 0.5056 GB, free: 7.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1308, allocations: 29.64 kB / 0.5056 GB, free: 7.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1309, allocations: 88.12 kB / 0.5057 GB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1309, allocations: 11.81 kB / 0.5057 GB, free: 7.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1309, allocations: 13.72 kB / 0.5057 GB, free: 7.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1311, allocations: 314.8 kB / 0.506 GB, free: 7.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.1311, allocations: 7.984 kB / 0.5061 GB, free: 7.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.1311, allocations: 8.172 kB / 0.5061 GB, free: 7.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.1312, allocations: 24.8 kB / 0.5061 GB, free: 7.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1312, allocations: 0 / 0.5061 GB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.14e-05/0.1313, allocations: 49.69 kB / 0.5061 GB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1313, allocations: 8 kB / 0.5061 GB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1313, allocations: 3.938 kB / 0.5061 GB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1313, allocations: 0 / 0.5061 GB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.1314, allocations: 8 kB / 0.5062 GB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1314, allocations: 0 / 0.5062 GB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.1315, allocations: 3.984 kB / 0.5062 GB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1315, allocations: 0 / 0.5062 GB, free: 7.109 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.1316, allocations: 113.8 kB / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1316, allocations: 7.906 kB / 0.5063 GB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.1316, allocations: 15.38 kB / 0.5063 GB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1316, allocations: 4 kB / 0.5063 GB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1316, allocations: 3.938 kB / 0.5063 GB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1316, allocations: 0 / 0.5063 GB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1318, allocations: 153.7 kB / 0.5064 GB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1318, allocations: 4 kB / 0.5064 GB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.1318, allocations: 8 kB / 0.5065 GB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1318, allocations: 0 / 0.5065 GB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1319, allocations: 7.922 kB / 0.5065 GB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1319, allocations: 0 / 0.5065 GB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1319, allocations: 0 / 0.5065 GB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.132, allocations: 77.12 kB / 0.5065 GB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.1321, allocations: 85.08 kB / 0.5066 GB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1321, allocations: 3.938 kB / 0.5066 GB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.1321, allocations: 0 / 0.5066 GB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.1321, allocations: 0 / 0.5066 GB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1321, allocations: 3.984 kB / 0.5066 GB, free: 6.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.1322, allocations: 91.16 kB / 0.5067 GB, free: 6.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1322, allocations: 4.062 kB / 0.5067 GB, free: 6.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.1324, allocations: 4 kB / 0.5067 GB, free: 6.434 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.302e-05/0.1325, allocations: 91.25 kB / 0.5068 GB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.1326, allocations: 19.98 kB / 0.5068 GB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1326, allocations: 0 / 0.5068 GB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.1326, allocations: 8.422 kB / 0.5068 GB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1328, allocations: 1.406 kB / 0.5068 GB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.1332, allocations: 202.3 kB / 0.507 GB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1335, allocations: 0.6805 MB / 0.5077 GB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.1335, allocations: 7.438 kB / 0.5077 GB, free: 5.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1335, allocations: 4 kB / 0.5077 GB, free: 5.355 MB / 350.1 MB Notification: Performance of Templates: time 0.001954/0.1355, allocations: 499.7 kB / 0.5082 GB, free: 4.863 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)