Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 106.1 kB / 16.36 MB, free: 6.34 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.479/1.479, allocations: 222.9 MB / 240 MB, free: 4.578 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.001324/0.001324, allocations: 188.4 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.034/0.034, allocations: 8.801 MB / 349.3 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 81.23 kB / 412.5 MB, free: 41.78 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 51.57 MB / 464.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003365/0.1252, allocations: 1.804 MB / 465.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.126, allocations: 466.8 kB / 466.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.1261, allocations: 0 / 466.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1262, allocations: 23.84 kB / 466.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.1263, allocations: 31.7 kB / 466.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1265, allocations: 19.97 kB / 466.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1267, allocations: 131.4 kB / 466.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1269, allocations: 44.97 kB / 466.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.127, allocations: 39.86 kB / 466.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1271, allocations: 55.77 kB / 466.7 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1271, allocations: 8 kB / 466.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.1271, allocations: 12 kB / 466.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.1272, allocations: 27.86 kB / 466.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.1273, allocations: 51.73 kB / 466.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1274, allocations: 127.6 kB / 466.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1275, allocations: 0 / 466.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1275, allocations: 0 / 466.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1275, allocations: 0 / 466.9 MB, free: 10.78 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.0005976/0.1281, allocations: 411.1 kB / 467.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1281, allocations: 12.03 kB / 467.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.1282, allocations: 8.844 kB / 467.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1285, allocations: 196.2 kB / 467.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1285, allocations: 12.38 kB / 467.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1285, allocations: 12.38 kB / 467.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1287, allocations: 106.8 kB / 467.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1288, allocations: 0 / 467.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1288, allocations: 8 kB / 467.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1288, allocations: 0 / 467.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1289, allocations: 59.98 kB / 467.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.1298, allocations: 0.502 MB / 468.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.1299, allocations: 38.58 kB / 468.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.13, allocations: 20.94 kB / 468.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.13, allocations: 0 / 468.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.13, allocations: 42.56 kB / 468.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.13, allocations: 7.922 kB / 468.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002402/0.1303, allocations: 57.69 kB / 468.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1303, allocations: 51.41 kB / 468.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1304, allocations: 151.8 kB / 468.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1305, allocations: 29.7 kB / 468.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.1305, allocations: 116 kB / 468.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1306, allocations: 11.81 kB / 468.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1306, allocations: 25.72 kB / 468.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1307, allocations: 322.8 kB / 469.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.1308, allocations: 8 kB / 469.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.1308, allocations: 38.58 kB / 469.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.1309, allocations: 46.52 kB / 469.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1309, allocations: 4 kB / 469.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.131, allocations: 77.53 kB / 469.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1311, allocations: 8 kB / 469.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1311, allocations: 0 / 469.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1311, allocations: 0 / 469.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.1312, allocations: 19.92 kB / 469.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1312, allocations: 4 kB / 469.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.1313, allocations: 7.938 kB / 469.3 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1313, allocations: 4 kB / 469.3 MB, free: 8.141 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 8.626e-05/0.1314, allocations: 133.7 kB / 469.4 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1314, allocations: 7.906 kB / 469.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.1314, allocations: 12.23 kB / 469.4 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1314, allocations: 4 kB / 469.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1315, allocations: 0 / 469.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1315, allocations: 4 kB / 469.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1317, allocations: 197.6 kB / 469.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1317, allocations: 0 / 469.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.1317, allocations: 11.98 kB / 469.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1318, allocations: 0 / 469.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1318, allocations: 4 kB / 469.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1318, allocations: 0 / 469.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1318, allocations: 0 / 469.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1319, allocations: 171.3 kB / 469.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.132, allocations: 89.03 kB / 469.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.132, allocations: 0 / 469.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.1321, allocations: 4 kB / 469.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1321, allocations: 8.062 kB / 469.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1322, allocations: 4 kB / 469.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.1322, allocations: 109 kB / 470 MB, free: 7.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1322, allocations: 0 / 470 MB, free: 7.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1325, allocations: 23.84 kB / 470 MB, free: 7.277 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 8.597e-05/0.1326, allocations: 99.25 kB / 470.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1327, allocations: 35.92 kB / 470.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1327, allocations: 4.062 kB / 470.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.1328, allocations: 12 kB / 470.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.133, allocations: 11.94 kB / 470.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.1336, allocations: 291.6 kB / 470.5 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1339, allocations: 0.6924 MB / 471.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1339, allocations: 8.656 kB / 471.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.134, allocations: 11.44 kB / 471.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.134, allocations: 4 kB / 471.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of Templates: time 0.002945/0.1369, allocations: 0.6921 MB / 471.9 MB, free: 5.375 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)