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.001058/0.001057, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.513/1.513, allocations: 223.2 MB / 238.9 MB, free: 5.633 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.001209/0.001209, allocations: 187.7 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03366/0.03366, allocations: 8.796 MB / 350.1 MB, free: 4.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004389, allocations: 12.02 kB / 413.1 MB, free: 43.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 52.57 MB / 465.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.001925/0.1153, allocations: 1.421 MB / 467.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000727/0.1161, allocations: 443.3 kB / 467.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.1162, allocations: 0 / 467.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.1162, allocations: 23.84 kB / 467.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1164, allocations: 31.92 kB / 467.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1165, allocations: 23.97 kB / 467.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1167, allocations: 79.83 kB / 467.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1168, allocations: 33.19 kB / 467.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.1169, allocations: 39.86 kB / 467.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.117, allocations: 47.78 kB / 467.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.117, allocations: 4 kB / 467.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.117, allocations: 8 kB / 467.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.1171, allocations: 19.91 kB / 467.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1171, allocations: 45.64 kB / 467.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1172, allocations: 84.05 kB / 467.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1172, allocations: 0 / 467.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1173, allocations: 4 kB / 467.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1173, allocations: 0 / 467.9 MB, free: 11.28 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.0005114/0.1178, allocations: 399 kB / 468.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1178, allocations: 12.03 kB / 468.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.1179, allocations: 19.7 kB / 468.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1181, allocations: 190.9 kB / 468.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1181, allocations: 8 kB / 468.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1182, allocations: 8 kB / 468.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1184, allocations: 102.5 kB / 468.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1184, allocations: 0 / 468.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1184, allocations: 8 kB / 468.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1184, allocations: 4 kB / 468.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1186, allocations: 59.92 kB / 468.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.1193, allocations: 0.502 MB / 469.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.1194, allocations: 46.56 kB / 469.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.1195, allocations: 4 kB / 469.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1195, allocations: 30.56 kB / 469.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1195, allocations: 0 / 469.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000193/0.1197, allocations: 73.8 kB / 469.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1198, allocations: 59.34 kB / 469.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1199, allocations: 144.2 kB / 469.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1199, allocations: 25.7 kB / 469.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.12, allocations: 112 kB / 469.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.12, allocations: 19.75 kB / 469.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.12, allocations: 0 / 469.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1202, allocations: 318.8 kB / 470.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.1202, allocations: 16 kB / 470.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.1203, allocations: 30.56 kB / 470.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.1203, allocations: 20 kB / 470.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1203, allocations: 0 / 470.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.1205, allocations: 77.53 kB / 470.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.1205, allocations: 7.938 kB / 470.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1205, allocations: 4.062 kB / 470.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1206, allocations: 4 kB / 470.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1207, allocations: 15.98 kB / 470.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1207, allocations: 3.953 kB / 470.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1207, allocations: 8.062 kB / 470.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1208, allocations: 4 kB / 470.2 MB, free: 8.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.1208, allocations: 117.8 kB / 470.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1209, allocations: 7.906 kB / 470.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.1209, allocations: 12.19 kB / 470.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1209, allocations: 4 kB / 470.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1209, allocations: 0 / 470.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.121, allocations: 7.938 kB / 470.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1212, allocations: 189.6 kB / 470.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1212, allocations: 3.938 kB / 470.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.1212, allocations: 19.92 kB / 470.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1212, allocations: 0 / 470.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1213, allocations: 0 / 470.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1213, allocations: 0 / 470.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1213, allocations: 0 / 470.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1215, allocations: 167.4 kB / 470.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.1215, allocations: 89.03 kB / 470.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1215, allocations: 0 / 470.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.1216, allocations: 4 kB / 470.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.1217, allocations: 4 kB / 470.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1217, allocations: 0 / 470.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.1217, allocations: 109.3 kB / 471 MB, free: 7.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1218, allocations: 8.062 kB / 471 MB, free: 7.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.122, allocations: 23.84 kB / 471 MB, free: 7.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.1221, allocations: 99.72 kB / 471.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1223, allocations: 31.98 kB / 471.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1223, allocations: 0 / 471.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.1223, allocations: 11.94 kB / 471.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1226, allocations: 11.95 kB / 471.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.1234, allocations: 343.6 kB / 471.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1238, allocations: 0.7004 MB / 472.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.1239, allocations: 12.66 kB / 472.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.1239, allocations: 11.44 kB / 472.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1239, allocations: 0 / 472.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of Templates: time 0.003133/0.1271, allocations: 0.645 MB / 472.8 MB, free: 5.992 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) Environment - environmentSimulation: