Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.463/1.463, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001595/0.001595, allocations: 180.2 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03274/0.03274, allocations: 8.798 MB / 350.5 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003592, allocations: 11.94 kB / 413.8 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 52.55 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.001944/0.1056, allocations: 1.523 MB / 467.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.1064, allocations: 458.9 kB / 468.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1066, allocations: 0 / 468.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1067, allocations: 11.91 kB / 468.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.1068, allocations: 27.77 kB / 468.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.1069, allocations: 19.98 kB / 468.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1071, allocations: 119.4 kB / 468.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1072, allocations: 41.19 kB / 468.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.586e-05/0.1073, allocations: 39.86 kB / 468.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.1074, allocations: 43.78 kB / 468.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1074, allocations: 8 kB / 468.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.1074, allocations: 4 kB / 468.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.1075, allocations: 23.86 kB / 468.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.1076, allocations: 73.44 kB / 468.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1077, allocations: 115.8 kB / 468.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1077, allocations: 4 kB / 468.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1077, allocations: 0 / 468.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1077, allocations: 0 / 468.9 MB, free: 10.61 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.0004842/0.1082, allocations: 391.2 kB / 469.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1083, allocations: 12.03 kB / 469.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1083, allocations: 12.75 kB / 469.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1086, allocations: 200.1 kB / 469.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1086, allocations: 8.375 kB / 469.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1086, allocations: 12.38 kB / 469.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1088, allocations: 106.8 kB / 469.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1089, allocations: 3.938 kB / 469.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1089, allocations: 7.938 kB / 469.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1089, allocations: 0 / 469.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.109, allocations: 59.97 kB / 469.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.1099, allocations: 0.506 MB / 470.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.11, allocations: 46.56 kB / 470.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.11, allocations: 24.84 kB / 470.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.11, allocations: 0 / 470.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1101, allocations: 30.56 kB / 470.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1101, allocations: 7.938 kB / 470.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.1102, allocations: 61.69 kB / 470.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1103, allocations: 51.41 kB / 470.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1104, allocations: 139.5 kB / 470.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1104, allocations: 29.7 kB / 470.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.1105, allocations: 120 kB / 470.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.1105, allocations: 19.75 kB / 470.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1106, allocations: 9.719 kB / 470.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1107, allocations: 326.8 kB / 471 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.1107, allocations: 8 kB / 471 MB, free: 8.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.1108, allocations: 34.56 kB / 471.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.1109, allocations: 50.52 kB / 471.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1109, allocations: 0 / 471.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001391/0.111, allocations: 81.53 kB / 471.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.111, allocations: 8 kB / 471.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1111, allocations: 0 / 471.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1111, allocations: 0 / 471.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.1112, allocations: 19.92 kB / 471.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1112, allocations: 4 kB / 471.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1112, allocations: 7.969 kB / 471.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1113, allocations: 4 kB / 471.2 MB, free: 7.992 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 9.456e-05/0.1114, allocations: 129.7 kB / 471.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1114, allocations: 7.906 kB / 471.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.1114, allocations: 8.234 kB / 471.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1114, allocations: 4 kB / 471.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1114, allocations: 0 / 471.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1115, allocations: 0 / 471.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1117, allocations: 201.5 kB / 471.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1117, allocations: 7.938 kB / 471.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.1117, allocations: 8 kB / 471.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1117, allocations: 0 / 471.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1118, allocations: 0 / 471.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1118, allocations: 0 / 471.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1118, allocations: 3.938 kB / 471.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1119, allocations: 171.3 kB / 471.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.112, allocations: 92.98 kB / 471.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.112, allocations: 8.125 kB / 471.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1121, allocations: 4 kB / 471.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.1121, allocations: 0 / 471.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1121, allocations: 7.984 kB / 471.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.629e-05/0.1122, allocations: 108.7 kB / 472 MB, free: 7.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1122, allocations: 0 / 472 MB, free: 7.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1125, allocations: 16 kB / 472 MB, free: 7.133 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.723e-05/0.1126, allocations: 99.25 kB / 472.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.1127, allocations: 39.92 kB / 472.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1127, allocations: 0 / 472.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.1127, allocations: 12 kB / 472.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.113, allocations: 15.92 kB / 472.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.1136, allocations: 347.8 kB / 472.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1139, allocations: 0.7004 MB / 473.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.766e-05/0.1139, allocations: 4.656 kB / 473.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.114, allocations: 11.44 kB / 473.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of SimCode: time 1.714e-06/0.114, allocations: 0 / 473.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of Templates: time 0.002897/0.1169, allocations: 0.6752 MB / 473.9 MB, free: 5.188 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) Environment - environmentSimulation: