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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 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.402/1.402, allocations: 222.9 MB / 239.2 MB, free: 4.613 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.00162/0.00162, allocations: 180.5 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03625/0.03625, allocations: 8.808 MB / 348.5 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 80.41 kB / 411.1 MB, free: 42.21 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1136, allocations: 51.56 MB / 462.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.002053/0.1157, allocations: 0.4949 MB / 463.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001493/0.1159, allocations: 15.91 kB / 463.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1159, allocations: 0 / 463.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.116, allocations: 4 kB / 463.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.116, allocations: 3.938 kB / 463.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.1162, allocations: 11.98 kB / 463.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.1162, allocations: 8 kB / 463.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.1163, allocations: 0 / 463.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.1163, allocations: 7.922 kB / 463.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.1164, allocations: 8 kB / 463.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1164, allocations: 0 / 463.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.1164, allocations: 0 / 463.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1165, allocations: 0 / 463.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.1165, allocations: 7.938 kB / 463.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.628e-05/0.1166, allocations: 15.91 kB / 463.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1166, allocations: 4 kB / 463.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1166, allocations: 7.938 kB / 463.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1166, allocations: 0 / 463.2 MB, free: 13.94 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.0004008/0.117, allocations: 319.5 kB / 463.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.117, allocations: 8.031 kB / 463.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1171, allocations: 0.9375 kB / 463.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1172, allocations: 164.4 kB / 463.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1172, allocations: 4.375 kB / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1173, allocations: 4.375 kB / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1174, allocations: 34.25 kB / 463.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1174, allocations: 192 / 463.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1174, allocations: 3.938 kB / 463.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1175, allocations: 4 kB / 463.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.1175, allocations: 8 kB / 463.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1177, allocations: 157.6 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.1178, allocations: 34.61 kB / 463.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.1178, allocations: 16.86 kB / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.1178, allocations: 0 / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1178, allocations: 34.56 kB / 464 MB, free: 13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1179, allocations: 0 / 464 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001699/0.118, allocations: 61.69 kB / 464.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1181, allocations: 51.41 kB / 464.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.1182, allocations: 101.8 kB / 464.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1182, allocations: 33.64 kB / 464.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1182, allocations: 80.14 kB / 464.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1183, allocations: 12.12 kB / 464.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1183, allocations: 21.7 kB / 464.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1184, allocations: 310.8 kB / 464.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.1184, allocations: 8 kB / 464.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.1185, allocations: 3.938 kB / 464.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.1185, allocations: 24.84 kB / 464.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1185, allocations: 8 kB / 464.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.822e-05/0.1186, allocations: 45.64 kB / 464.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1186, allocations: 4 kB / 464.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1187, allocations: 3.938 kB / 464.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1187, allocations: 0 / 464.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.1188, allocations: 11.98 kB / 464.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1188, allocations: 0 / 464.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.1188, allocations: 11.91 kB / 464.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.1188, allocations: 4 kB / 464.8 MB, free: 12.15 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 7.698e-05/0.1189, allocations: 117.8 kB / 464.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.1189, allocations: 0 / 464.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.1189, allocations: 15.44 kB / 464.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.119, allocations: 0 / 464.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.119, allocations: 3.984 kB / 464.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.119, allocations: 0 / 464.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1191, allocations: 145.7 kB / 465.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1191, allocations: 0 / 465.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.1192, allocations: 11.98 kB / 465.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1192, allocations: 0 / 465.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1192, allocations: 11.88 kB / 465.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1192, allocations: 4 kB / 465.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1192, allocations: 4 kB / 465.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1194, allocations: 69.12 kB / 465.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.1194, allocations: 81.09 kB / 465.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1194, allocations: 7.938 kB / 465.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.784e-05/0.1195, allocations: 0 / 465.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.1195, allocations: 32 / 465.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1195, allocations: 8.062 kB / 465.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.1195, allocations: 75.7 kB / 465.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1195, allocations: 0 / 465.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.1197, allocations: 4 kB / 465.3 MB, free: 11.5 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 9.226e-05/0.1198, allocations: 91.25 kB / 465.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.1199, allocations: 28.05 kB / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1199, allocations: 0 / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.12, allocations: 19.88 kB / 465.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.1201, allocations: 4 kB / 465.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.1204, allocations: 113.6 kB / 465.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1207, allocations: 0.6768 MB / 466.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.1207, allocations: 4 kB / 466.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1207, allocations: 7.438 kB / 466.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1207, allocations: 3.938 kB / 466.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Templates: time 0.002228/0.123, allocations: 249.1 kB / 466.5 MB, free: 10.25 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)