Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 104.2 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.454/1.454, allocations: 222.9 MB / 240 MB, free: 4.531 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.001445/0.001445, allocations: 188.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03456/0.03456, allocations: 8.803 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 78.91 kB / 412.5 MB, free: 41.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1194, allocations: 51.57 MB / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.00333/0.1228, allocations: 1.812 MB / 465.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008079/0.1236, allocations: 458.8 kB / 466.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.1237, allocations: 4 kB / 466.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.1239, allocations: 19.78 kB / 466.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.124, allocations: 39.7 kB / 466.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1241, allocations: 23.97 kB / 466.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1243, allocations: 123.5 kB / 466.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1245, allocations: 44.95 kB / 466.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.1245, allocations: 51.78 kB / 466.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1247, allocations: 51.78 kB / 466.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.1247, allocations: 12 kB / 466.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.1247, allocations: 8 kB / 466.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1248, allocations: 23.92 kB / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.1248, allocations: 55.73 kB / 466.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.125, allocations: 115.6 kB / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.125, allocations: 0 / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.125, allocations: 0 / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.125, allocations: 7.984 kB / 466.9 MB, free: 10.7 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005879/0.1256, allocations: 411.1 kB / 467.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1257, allocations: 8.031 kB / 467.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.1257, allocations: 8.844 kB / 467.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.126, allocations: 204.1 kB / 467.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1261, allocations: 8.375 kB / 467.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1261, allocations: 12.38 kB / 467.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1263, allocations: 106.8 kB / 467.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1263, allocations: 3.938 kB / 467.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1263, allocations: 4 kB / 467.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1264, allocations: 8 kB / 467.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1265, allocations: 55.98 kB / 467.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.1272, allocations: 0.4942 MB / 468.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.1273, allocations: 54.5 kB / 468.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.1274, allocations: 12.86 kB / 468.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1274, allocations: 4 kB / 468.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1274, allocations: 30.56 kB / 468.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1274, allocations: 0 / 468.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.1276, allocations: 61.72 kB / 468.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1277, allocations: 51.41 kB / 468.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1278, allocations: 155.9 kB / 468.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1278, allocations: 25.7 kB / 468.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.1279, allocations: 128 kB / 468.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.1279, allocations: 7.812 kB / 468.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.128, allocations: 17.72 kB / 468.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1281, allocations: 326.8 kB / 469.1 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.1281, allocations: 12 kB / 469.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.1282, allocations: 34.56 kB / 469.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.1283, allocations: 46.52 kB / 469.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1283, allocations: 0 / 469.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.1284, allocations: 89.53 kB / 469.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1284, allocations: 4 kB / 469.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1284, allocations: 0 / 469.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1284, allocations: 0 / 469.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1285, allocations: 24.05 kB / 469.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1286, allocations: 0 / 469.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1286, allocations: 3.938 kB / 469.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1286, allocations: 4.188 kB / 469.3 MB, free: 8.066 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 0.0001002/0.1287, allocations: 137.6 kB / 469.4 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1288, allocations: 7.906 kB / 469.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.1288, allocations: 20.22 kB / 469.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1288, allocations: 0 / 469.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1288, allocations: 0 / 469.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1288, allocations: 7.938 kB / 469.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.129, allocations: 201.5 kB / 469.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.129, allocations: 0 / 469.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.466e-05/0.1291, allocations: 8 kB / 469.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1291, allocations: 0 / 469.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1291, allocations: 4 kB / 469.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1291, allocations: 4 kB / 469.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1291, allocations: 0 / 469.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.1293, allocations: 171.4 kB / 469.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.1294, allocations: 81.02 kB / 469.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1294, allocations: 4.031 kB / 469.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.1295, allocations: 3.938 kB / 469.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.1295, allocations: 4 kB / 469.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1295, allocations: 3.984 kB / 469.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.1296, allocations: 107.3 kB / 470 MB, free: 7.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 0 / 470 MB, free: 7.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1299, allocations: 27.84 kB / 470.1 MB, free: 7.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.000101/0.13, allocations: 95.31 kB / 470.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.1301, allocations: 35.92 kB / 470.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1301, allocations: 0 / 470.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/0.1301, allocations: 12 kB / 470.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1304, allocations: 17.98 kB / 470.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.131, allocations: 279.4 kB / 470.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.1314, allocations: 0.7041 MB / 471.2 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.1315, allocations: 0.6719 kB / 471.2 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1315, allocations: 11.44 kB / 471.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1315, allocations: 0 / 471.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of Templates: time 0.00334/0.1349, allocations: 0.7096 MB / 471.9 MB, free: 5.289 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)