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.001058/0.001058, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.384/1.384, allocations: 222.9 MB / 239 MB, free: 4.645 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.001388/0.001388, allocations: 192.5 kB / 289.3 MB, free: 2.387 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06521/0.06521, allocations: 8.803 MB / 348.2 MB, free: 4.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 76.59 kB / 410.6 MB, free: 42.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1215, allocations: 51.56 MB / 462.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.002036/0.1236, allocations: 0.5557 MB / 462.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.1239, allocations: 19.95 kB / 462.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.1239, allocations: 0 / 462.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.1239, allocations: 3.938 kB / 462.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.789e-05/0.124, allocations: 4 kB / 462.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.1241, allocations: 8 kB / 462.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.1242, allocations: 7.984 kB / 462.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.1242, allocations: 4 kB / 462.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.1242, allocations: 3.938 kB / 462.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.1243, allocations: 11.98 kB / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1243, allocations: 0 / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.1243, allocations: 0 / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1244, allocations: 0 / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.1244, allocations: 11.92 kB / 462.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.297e-05/0.1245, allocations: 3.938 kB / 462.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1245, allocations: 4 kB / 462.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1245, allocations: 0 / 462.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.1245, allocations: 0 / 462.8 MB, free: 14.13 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.0003674/0.1249, allocations: 323.5 kB / 463.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1249, allocations: 12.03 kB / 463.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1249, allocations: 0.9375 kB / 463.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1251, allocations: 168.3 kB / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1251, allocations: 8.359 kB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1251, allocations: 4.375 kB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.1252, allocations: 34.27 kB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1252, allocations: 192 / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1252, allocations: 3.938 kB / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1252, allocations: 3.938 kB / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.1253, allocations: 15.97 kB / 463.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1255, allocations: 157.7 kB / 463.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.1255, allocations: 34.52 kB / 463.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.1256, allocations: 16.86 kB / 463.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1256, allocations: 4.078 kB / 463.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1256, allocations: 30.56 kB / 463.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1256, allocations: 4 kB / 463.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001479/0.1258, allocations: 57.47 kB / 463.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1258, allocations: 51.41 kB / 463.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1259, allocations: 93.86 kB / 463.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1259, allocations: 33.7 kB / 463.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.126, allocations: 80.14 kB / 463.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.126, allocations: 16.11 kB / 463.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.126, allocations: 13.72 kB / 463.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1262, allocations: 314.8 kB / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.1262, allocations: 4 kB / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.1262, allocations: 11.92 kB / 464.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.1263, allocations: 16.86 kB / 464.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1263, allocations: 0 / 464.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.745e-05/0.1263, allocations: 57.62 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1264, allocations: 4 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1264, allocations: 3.938 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1264, allocations: 0 / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.1265, allocations: 8 kB / 464.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1265, allocations: 0 / 464.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.1265, allocations: 3.906 kB / 464.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1265, allocations: 4 kB / 464.3 MB, free: 12.34 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.0001222/0.1266, allocations: 113.8 kB / 464.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.1267, allocations: 4 kB / 464.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.1267, allocations: 15.42 kB / 464.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1267, allocations: 0 / 464.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1267, allocations: 0 / 464.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1267, allocations: 0.5156 kB / 464.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.1268, allocations: 157.7 kB / 464.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1268, allocations: 0 / 464.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.1269, allocations: 8 kB / 464.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1269, allocations: 0 / 464.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1269, allocations: 3.938 kB / 464.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1269, allocations: 4 kB / 464.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1269, allocations: 0 / 464.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.127, allocations: 85.03 kB / 464.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.1271, allocations: 89.08 kB / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1271, allocations: 3.938 kB / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.1271, allocations: 4 kB / 464.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.1271, allocations: 0 / 464.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1271, allocations: 4 kB / 464.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.053e-05/0.1272, allocations: 79.34 kB / 464.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1272, allocations: 0 / 464.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001674/0.1273, allocations: 4 kB / 464.9 MB, free: 11.68 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 8.268e-05/0.1274, allocations: 95.23 kB / 465 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.1275, allocations: 19.94 kB / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1275, allocations: 0 / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.1275, allocations: 11.92 kB / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1277, allocations: 8 kB / 465 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.1279, allocations: 121.4 kB / 465.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1281, allocations: 0.6768 MB / 465.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.408e-05/0.1282, allocations: 0 / 465.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.1282, allocations: 11.44 kB / 465.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1282, allocations: 0 / 465.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Templates: time 0.001943/0.1301, allocations: 245.1 kB / 466.1 MB, free: 10.43 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (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)