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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 200.3 MB, free: 5.352 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 163.7 kB / 257 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02405/0.02405, allocations: 6.667 MB / 266.9 MB, free: 3.043 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 285.6 MB, free: 356 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.285e-05, allocations: 9.906 kB / 285.6 MB, free: 348 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.1047/0.1047, allocations: 1.852 MB / 287.5 MB, free: 21.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.1055, allocations: 484.3 kB / 288 MB, free: 21.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.1056, allocations: 1.438 kB / 288 MB, free: 21.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1057, allocations: 19.38 kB / 288 MB, free: 21.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.1058, allocations: 38.22 kB / 288 MB, free: 21.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.106, allocations: 27.59 kB / 288 MB, free: 21.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1061, allocations: 127.2 kB / 288.2 MB, free: 21.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1062, allocations: 31.03 kB / 288.2 MB, free: 21.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1064, allocations: 73.66 kB / 288.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1065, allocations: 36.11 kB / 288.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1065, allocations: 11.62 kB / 288.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.1065, allocations: 9.875 kB / 288.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.1066, allocations: 23.88 kB / 288.3 MB, free: 21.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.1066, allocations: 38.91 kB / 288.4 MB, free: 21.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1068, allocations: 85.47 kB / 288.5 MB, free: 21.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1068, allocations: 1.938 kB / 288.5 MB, free: 21.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1068, allocations: 1.344 kB / 288.5 MB, free: 21.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1068, allocations: 0 / 288.5 MB, free: 21.22 MB / 266.7 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.0003544/0.1071, allocations: 315.1 kB / 288.8 MB, free: 20.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1072, allocations: 8.719 kB / 288.8 MB, free: 20.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.1072, allocations: 19.58 kB / 288.8 MB, free: 20.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1073, allocations: 129.8 kB / 288.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1073, allocations: 10.91 kB / 288.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1074, allocations: 12.28 kB / 289 MB, free: 20.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.1075, allocations: 102.5 kB / 289.1 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1075, allocations: 3.219 kB / 289.1 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1075, allocations: 6.219 kB / 289.1 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1075, allocations: 6.188 kB / 289.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.1076, allocations: 27.78 kB / 289.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.108, allocations: 350.2 kB / 289.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.1081, allocations: 37.98 kB / 289.5 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1081, allocations: 11.69 kB / 289.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.1081, allocations: 1.031 kB / 289.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1082, allocations: 33.77 kB / 289.5 MB, free: 20.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1082, allocations: 1 kB / 289.5 MB, free: 20.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001296/0.1083, allocations: 55.22 kB / 289.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.1083, allocations: 57.31 kB / 289.6 MB, free: 20.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.1084, allocations: 126.8 kB / 289.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.1084, allocations: 25.7 kB / 289.8 MB, free: 20.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.1084, allocations: 126.3 kB / 289.9 MB, free: 20 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.1085, allocations: 11.41 kB / 289.9 MB, free: 19.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1085, allocations: 26.77 kB / 289.9 MB, free: 19.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.1085, allocations: 315 kB / 290.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.1085, allocations: 5.047 kB / 290.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.1086, allocations: 29.44 kB / 290.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.1086, allocations: 39.88 kB / 290.3 MB, free: 19.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1086, allocations: 0 / 290.3 MB, free: 19.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.406e-05/0.1087, allocations: 57.5 kB / 290.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1087, allocations: 7.078 kB / 290.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1087, allocations: 0.7812 kB / 290.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1087, allocations: 6.438 kB / 290.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.1088, allocations: 15.73 kB / 290.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1088, allocations: 2.766 kB / 290.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.1089, allocations: 8.984 kB / 290.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1089, allocations: 6.781 kB / 290.4 MB, free: 19.55 MB / 266.7 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 4.611e-05/0.1089, allocations: 114.3 kB / 290.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.1089, allocations: 9.203 kB / 290.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.109, allocations: 10.23 kB / 290.6 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.109, allocations: 8.281 kB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.109, allocations: 3.547 kB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.109, allocations: 2.031 kB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1091, allocations: 84 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1091, allocations: 0.875 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.1091, allocations: 10.55 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1091, allocations: 1.094 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1091, allocations: 6.156 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1092, allocations: 0.6562 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1092, allocations: 0.8438 kB / 290.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.782e-05/0.1093, allocations: 150.2 kB / 290.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.1093, allocations: 10.47 kB / 290.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1093, allocations: 1.875 kB / 290.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.1093, allocations: 3.812 kB / 290.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.1094, allocations: 10.28 kB / 290.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1094, allocations: 1.812 kB / 290.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.1094, allocations: 24.16 kB / 290.9 MB, free: 19.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1094, allocations: 0 / 290.9 MB, free: 19.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.1096, allocations: 20.66 kB / 290.9 MB, free: 19.16 MB / 266.7 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 6.387e-05/0.1097, allocations: 75.47 kB / 291 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.1097, allocations: 32.92 kB / 291 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1097, allocations: 1.125 kB / 291 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.1097, allocations: 12.97 kB / 291 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1099, allocations: 9.484 kB / 291 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.1105, allocations: 269.5 kB / 291.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.1105, allocations: 62.05 kB / 291.3 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.1105, allocations: 6.188 kB / 291.3 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.1106, allocations: 62.88 kB / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1106, allocations: 0 / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002687/0.1133, allocations: 0.6632 MB / 292.1 MB, free: 18.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.558245194144547]