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.004826/0.004826, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.391/1.391, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001446/0.001446, allocations: 200.4 kB / 289.7 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.05902/0.05902, allocations: 8.784 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 83.86 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 51.56 MB / 0.5034 GB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00189/0.1174, allocations: 499 kB / 0.5038 GB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000173/0.1176, allocations: 23.89 kB / 0.5039 GB, free: 9.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.1177, allocations: 0 / 0.5039 GB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.1177, allocations: 0 / 0.5039 GB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.1178, allocations: 3.938 kB / 0.5039 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.1179, allocations: 0 / 0.5039 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.118, allocations: 8 kB / 0.5039 GB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.276e-05/0.1181, allocations: 11.98 kB / 0.5039 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.1181, allocations: 7.938 kB / 0.5039 GB, free: 8.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.1181, allocations: 4 kB / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1182, allocations: 0 / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.1182, allocations: 0 / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.1182, allocations: 7.938 kB / 0.5039 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1182, allocations: 7.984 kB / 0.5039 GB, free: 8.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.1183, allocations: 7.922 kB / 0.5039 GB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1183, allocations: 0 / 0.5039 GB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1183, allocations: 0 / 0.5039 GB, free: 8.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1183, allocations: 4 kB / 0.5039 GB, free: 8.945 MB / 350.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.0003879/0.1187, allocations: 327.5 kB / 0.5042 GB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1188, allocations: 12.03 kB / 0.5043 GB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1188, allocations: 4.875 kB / 0.5043 GB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1189, allocations: 160.4 kB / 0.5044 GB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.119, allocations: 4.375 kB / 0.5044 GB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.119, allocations: 4.312 kB / 0.5044 GB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1191, allocations: 38.25 kB / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1191, allocations: 192 / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1192, allocations: 3.938 kB / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1192, allocations: 4 kB / 0.5045 GB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.1192, allocations: 8 kB / 0.5045 GB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1194, allocations: 153.7 kB / 0.5046 GB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.1195, allocations: 42.55 kB / 0.5047 GB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.1195, allocations: 8.859 kB / 0.5047 GB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1195, allocations: 0 / 0.5047 GB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1196, allocations: 38.56 kB / 0.5047 GB, free: 7.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1196, allocations: 0 / 0.5047 GB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001544/0.1197, allocations: 57.66 kB / 0.5048 GB, free: 7.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1198, allocations: 55.39 kB / 0.5048 GB, free: 7.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.1199, allocations: 94.05 kB / 0.5049 GB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1199, allocations: 29.64 kB / 0.5049 GB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.1199, allocations: 84.14 kB / 0.505 GB, free: 7.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.12, allocations: 15.75 kB / 0.505 GB, free: 7.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.12, allocations: 17.7 kB / 0.505 GB, free: 7.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1201, allocations: 318.8 kB / 0.5053 GB, free: 7.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.1201, allocations: 4 kB / 0.5054 GB, free: 7.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.1202, allocations: 8.172 kB / 0.5054 GB, free: 7.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.1202, allocations: 20.84 kB / 0.5054 GB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1202, allocations: 4 kB / 0.5054 GB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.548e-05/0.1203, allocations: 49.64 kB / 0.5054 GB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1203, allocations: 4 kB / 0.5054 GB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1203, allocations: 7.922 kB / 0.5054 GB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1204, allocations: 0 / 0.5054 GB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1205, allocations: 12 kB / 0.5055 GB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1205, allocations: 3.984 kB / 0.5055 GB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.1205, allocations: 0 / 0.5055 GB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1205, allocations: 4 kB / 0.5055 GB, free: 7.152 MB / 350.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.939e-05/0.1206, allocations: 113.8 kB / 0.5056 GB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.1206, allocations: 3.906 kB / 0.5056 GB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.1206, allocations: 11.44 kB / 0.5056 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1207, allocations: 3.984 kB / 0.5056 GB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1207, allocations: 4 kB / 0.5056 GB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1207, allocations: 0 / 0.5056 GB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1208, allocations: 149.7 kB / 0.5057 GB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1208, allocations: 3.984 kB / 0.5057 GB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.1209, allocations: 8 kB / 0.5057 GB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1209, allocations: 0 / 0.5057 GB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1209, allocations: 7.875 kB / 0.5058 GB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1209, allocations: 0 / 0.5058 GB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1209, allocations: 4 kB / 0.5058 GB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.1211, allocations: 81.06 kB / 0.5058 GB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1211, allocations: 81.09 kB / 0.5059 GB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1212, allocations: 3.938 kB / 0.5059 GB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.1212, allocations: 0 / 0.5059 GB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1212, allocations: 0 / 0.5059 GB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1212, allocations: 4.031 kB / 0.5059 GB, free: 6.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.854e-05/0.1213, allocations: 83.22 kB / 0.506 GB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 0 / 0.506 GB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001869/0.1214, allocations: 4 kB / 0.506 GB, free: 6.496 MB / 350.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.882e-05/0.1216, allocations: 95.31 kB / 0.5061 GB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1217, allocations: 23.92 kB / 0.5061 GB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1217, allocations: 0 / 0.5061 GB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.1217, allocations: 4.422 kB / 0.5061 GB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1218, allocations: 4 kB / 0.5061 GB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.1221, allocations: 113.8 kB / 0.5062 GB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1224, allocations: 0.6766 MB / 0.5069 GB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.349e-05/0.1224, allocations: 4 kB / 0.5069 GB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1225, allocations: 11.44 kB / 0.5069 GB, free: 5.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1225, allocations: 0 / 0.5069 GB, free: 5.504 MB / 350.1 MB Notification: Performance of Templates: time 0.002375/0.1248, allocations: 249.2 kB / 0.5071 GB, free: 5.262 MB / 350.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)