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.001962/0.001962, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.903/1.903, allocations: 222.9 MB / 239.5 MB, free: 4.758 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.001669/0.001669, allocations: 196.4 kB / 289.8 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04887/0.04887, allocations: 8.803 MB / 348.7 MB, free: 4.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002223, allocations: 78.48 kB / 411 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1277, allocations: 51.56 MB / 462.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.002359/0.1301, allocations: 0.5665 MB / 463.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.1303, allocations: 29.33 kB / 463.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.1304, allocations: 0 / 463.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.1304, allocations: 0 / 463.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.1305, allocations: 4 kB / 463.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.1306, allocations: 7.984 kB / 463.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.1307, allocations: 19.88 kB / 463.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.013e-05/0.1308, allocations: 4 kB / 463.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.1308, allocations: 7.938 kB / 463.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.1309, allocations: 7.984 kB / 463.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1309, allocations: 0 / 463.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.1309, allocations: 0 / 463.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.131, allocations: 4 kB / 463.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.131, allocations: 11.92 kB / 463.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.893e-05/0.1311, allocations: 3.984 kB / 463.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1311, allocations: 4 kB / 463.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1311, allocations: 0 / 463.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1311, allocations: 0 / 463.3 MB, free: 14.29 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.0004808/0.1316, allocations: 323.8 kB / 463.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1317, allocations: 12.02 kB / 463.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1317, allocations: 4.938 kB / 463.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1319, allocations: 164.3 kB / 463.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1319, allocations: 384 / 463.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.132, allocations: 384 / 463.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1321, allocations: 46.23 kB / 463.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1321, allocations: 192 / 463.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.1321, allocations: 7.938 kB / 463.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1322, allocations: 3.938 kB / 463.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.1322, allocations: 7.938 kB / 463.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1324, allocations: 153.7 kB / 464 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1326, allocations: 38.61 kB / 464 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.1326, allocations: 12.86 kB / 464 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1326, allocations: 0 / 464 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1327, allocations: 34.56 kB / 464.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 3.006e-06/0.1327, allocations: 0 / 464.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001883/0.1329, allocations: 61.56 kB / 464.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1329, allocations: 51.41 kB / 464.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.133, allocations: 97.84 kB / 464.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1331, allocations: 25.7 kB / 464.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1331, allocations: 88.14 kB / 464.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1332, allocations: 3.906 kB / 464.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.1332, allocations: 21.72 kB / 464.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1334, allocations: 314.8 kB / 464.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.1334, allocations: 7.938 kB / 464.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.1335, allocations: 8 kB / 464.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.1335, allocations: 20.8 kB / 464.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1336, allocations: 0 / 464.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.1337, allocations: 45.69 kB / 464.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1337, allocations: 4 kB / 464.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1337, allocations: 3.938 kB / 464.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1337, allocations: 8 kB / 464.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1339, allocations: 7.984 kB / 464.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1339, allocations: 4 kB / 464.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.1339, allocations: 3.906 kB / 464.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1339, allocations: 0 / 464.8 MB, free: 12.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.134, allocations: 113.8 kB / 464.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1341, allocations: 8.516 kB / 465 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.1341, allocations: 7.438 kB / 465 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1341, allocations: 7.938 kB / 465 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1341, allocations: 0 / 465 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1341, allocations: 3.984 kB / 465 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1343, allocations: 153.7 kB / 465.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1343, allocations: 4 kB / 465.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.1344, allocations: 11.92 kB / 465.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1344, allocations: 0 / 465.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1345, allocations: 7.938 kB / 465.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1345, allocations: 0 / 465.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1345, allocations: 0 / 465.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1347, allocations: 77.12 kB / 465.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.1347, allocations: 81.05 kB / 465.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1348, allocations: 3.938 kB / 465.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.1348, allocations: 32 / 465.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.1348, allocations: 7.984 kB / 465.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1348, allocations: 0 / 465.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.1349, allocations: 87.22 kB / 465.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1349, allocations: 0 / 465.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1352, allocations: 4 kB / 465.4 MB, free: 11.84 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 (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.0001197/0.1353, allocations: 95.31 kB / 465.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1355, allocations: 19.98 kB / 465.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1355, allocations: 0 / 465.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.1355, allocations: 4 kB / 465.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1357, allocations: 0 / 465.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.1363, allocations: 220.2 kB / 465.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1367, allocations: 0.677 MB / 466.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1367, allocations: 15.38 kB / 466.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1367, allocations: 0 / 466.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002248/0.139, allocations: 479.8 kB / 466.9 MB, free: 10.28 MB / 302.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)